You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's not a problem behind, only small improvement.
Describe the solution you'd like
To implement the new "result" function toArray() returns an array of strings which is an usual array with has all selected id's and you can apply all appropriate arrays methods to it.
The reason of this - in some cases, you need to get the array of strings from the selector, instead of use the current each iterator. Moreover, the source data already presented as an array of strings, so you don't need to iterate it once more time.
Describe alternatives you've considered
Alternative is to call each "result" function to fill an array ...
I.e. "internal" array will initially convert to iterator, and then back to array ...
Additional context
I think it will be useful.
Proposed implementation is in #1549.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It's not a problem behind, only small improvement.
Describe the solution you'd like
To implement the new "result" function
toArray()
returns anarray of strings
which is an usual array with has all selectedid's
and you can apply all appropriate arrays methods to it.The reason of this - in some cases, you need to get the array of strings from the
selector
, instead of use the currenteach
iterator. Moreover, the source data already presented as an array of strings, so you don't need to iterate it once more time.Describe alternatives you've considered
Alternative is to call
each
"result" function to fill an array ...I.e. "internal" array will initially convert to iterator, and then back to array ...
Additional context
I think it will be useful.
Proposed implementation is in #1549.
The text was updated successfully, but these errors were encountered: