We need to enhance the select field, it should be possible to pass function into optionsList. This function should have optional search query passed from the input if the field is enhanced and uses tom-select. This query should be null by default. The function should return a array of select options Option[].
There should be internal public function on the class to reload the options in the function is set. Also it should reaload the options when zou search in the tom-select and pass the query into the function.
We need to enhance the select field, it should be possible to pass function into
optionsList
. This function should have optional search query passed from the input if the field is enhanced and uses tom-select. This query should be null by default. The function should return a array of select optionsOption[]
.There should be internal public function on the class to reload the options in the function is set. Also it should reaload the options when zou search in the tom-select and pass the query into the function.