Allow conditional setting of required
flag of a field
#12716
codeflorist
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
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.
-
The
condition
property can be used to show/hide a field based on the value of a sibling field.It would be very handy, if it were also possible to make a field
required
based on the value of a sibling field.Example:
This should influence validation as well as the
*
suffix of the label.This is possible now by writing a custom validation function as well as a custom label component, but it would be very handy, if this would be working out-of-the-box.
Beta Was this translation helpful? Give feedback.
All reactions