Display dropdown list options based on radio button selected value in editor form
Display dropdown list options based on radio button selected value in editor form
Hi All,
Sorry if I ask a repetitive question.
I have a client side editor and in the editor form I need to update dropdown list options based on the selected value of radio button. I found dependent fields example but in my case I don't want to hide any fields.
How should I change this function to wrok in a way that I want?
Thank you for your help.
This discussion has been closed.
Replies
Hi, I don't know if I got you right, but, if your edited fields depend on some other fields or data in the same row, you can add editable fields dynamically.
Specify in editor options the field you want to edit
On window load you can do
Editor on event "initEdit" adds new field with type "select2" and it takes data from another field in the same row. Is that was what you wanted?