Copy value from one control to another control #15346
Replies: 6 comments 1 reply
-
{{id_settings_to_copy.VALUE}} |
Beta Was this translation helpful? Give feedback.
-
And what shall I use for condition so that it will copy or will it work without condition. |
Beta Was this translation helpful? Give feedback.
-
I think {{id_settings_to_copy.VALUE}} this works if we are build custom control. But I need value in Controls_Manager::TEXT when select2 value is selected. |
Beta Was this translation helpful? Give feedback.
-
I still don't understand what you want to achieve. Maybe it's about this?
2nd scenario: (display second field if first are have any value other than 'none':
(I wrote it from memory, it may have some little bug) |
Beta Was this translation helpful? Give feedback.
-
This is my custom widget and I have tried to create a custom control (search_symbol) which works with select2 and generate a dynamic option with ajax API call. I can't figure out how to save the selected value to the editor and I have issued this topic (#15309) but no one replied to the issue so I went to try for an alternate solution where the selected option will be displayed to 'selected_symbol' when 'search_symbol' is selected. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, |
Beta Was this translation helpful? Give feedback.
-
How can I copy a value of one control to another? I can't find anything similar to condition.
Beta Was this translation helpful? Give feedback.
All reactions