Hello,
Context: I have a radio button which add the values "Orange" and "Green" in the field "component". For that, I'm using a script in "behaviours" :
getFieldById(COMPONENTS).setFormValue(components.findAll { it.name in ["Orange", "Vert"] }*.id)Problem: The field "component" stay filled when I choose another option with my radio button.
What I want: I'd like to know what line of code should I use to erase the content of the "component" field before I fill it.
Thanks for your help.