Validate User Input for Custom Flow Screen Components
Add validation to your custom screen components.
To use flow’s validation capabilities, create a function called validate()
in your component’s JavaScript file.
Arrow function expressions don’t work for validation in components with a target
of lightning__FlowScreen
.
See Also