I want to show/hide a textfield(required: true) based on a checkbox.
Only when checkbox is enabled, textfield must be displayed
Only when checkbox is disabled, textfield must be hidden.
When checkbox is disabled, I am unable to submit the dialog since textfield is a required field.
Expected: When checkbox is disabled, I should be able to submit the dialog even though textfield is a required field.
Please help.
Thanks in advance