How to do dynamic maxValue Expressions in AnsibleForms #269
Replies: 2 comments 1 reply
-
just make a local expression field that results in a boolean and use the See example : #268 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MarcosLealSierra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m currently working with AnsibleForms and have encountered a scenario where a dynamic validation would be extremely helpful. In my form, I need to ensure that a number field does not exceed a limit that is dynamically calculated based on another field’s value. However, it seems that the maxValue property currently only accepts a literal integer and does not support dynamic expressions.
Would it be possible to consider adding support for dynamic validations or custom validators in future versions of AnsibleForms? This feature would greatly assist in scenarios where validation needs to depend on other field values.
Thank you very much for all the hard work on this project. I truly appreciate the effort that has gone into developing AnsibleForms, and I look forward to your thoughts on this suggestion.
Best regards,
Marcos
Beta Was this translation helpful? Give feedback.
All reactions