Is there a better Select All function? #62
Answered
by
oyejorge
developman-akl
asked this question in
Q&A
-
Hi All, Is there another way to Select All options by clicking a button other than going through one by one every options and call
The problem with the above approach is it takes forever to populate the input in case there were > 100 options to select. Is there an inverse of Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
oyejorge
Apr 14, 2021
Replies: 1 comment 2 replies
-
This should work better let values = Object.keys(control.options);
control.addItems(values); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
developman-akl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work better