Is it possible to add text validation in an app outside of a form or to add a select component inside form component? #5192
Unanswered
Filmtangent
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a user facing app that will take a series of inputs and then trigger a flow to create some resources on our backend.
For the sake of cleanliness I want to ensure that certain parameters are maintained e.g. no whitespace.
Is there a way, outside of using a form, that I can provide validation for text input.
I want to avoid using a form as I will also need to use drop downs in this app, which does not seem possible in the form component, thus I am building the inputs separately and will use the results to fill a form (with all inputs disabled) as a final validation step.
I've tried doing this a couple of ways, either by adding the pattern property to the text input in the App's JSON along with forwarding the input to a form field that is validated, but disabled. Neither seems to work.
A potential alternative would be to be able to populate select fields in a form, which likewise I have not been able to do.
Please help!
Beta Was this translation helpful? Give feedback.
All reactions