Custom validation of components

The Flow UI framework supports validating components, before sending the metadata to Flow for more complex validation. This can be useful for reducing latency on mobile devices, bandwidth constrained clients, or if we want to implement custom validation, say, an input that accepts a certain format.

We can override the default validation rules in a custom component by calling:

To set a component as valid:

Also see: