Relative Content

Tag Archive for vuejs3quasar

Quasar validate input only if condition is met

In my quasarvue3 project i have 2 email fields and 2 radio buttons.
I am trying to create a validation condition where the field is only validated at all if the radio button related to that field is selected. So if the value for radio button is ‘option 1’ then only the first field should be validated and the second one only if it is option 2.