- 🇫🇷France paul_leclerc Lausanne Switzerland
#17 I'm not able to approved it but it saved my day.
thanks ankithashetty I had a few dependencies and had to hide some options from radio buttons. For if someone needs it, this was what worked for me:
group_of_radios: '#type': radios '#title': 'Title' '#options': 1: 'Option 1' 2: 'Option 2' 3: 'Option 3' '#options__properties': 2: '#states': visible: ':input[name="field_form"]': value: pattern: 9|10