Unable to save dialog because of required fields
I have a component with a dropdown. Based on the selection, the fields will be shown in the dialog box.
Suppose there are two options, option 1 and option 2.
On selecting option 1, a field shows up which is a required field.
Now, the issue is that even if I don't select any value from the dropdown, I'm not able to save the dialog box because of the "required=true" condition on the option 1 field. How can I resolve this issue?