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
When using the TRichSelect component, it's possible to set :clearable="true'.
But I can't exactly figure out if it's working fine or not.
In my component wrapping a TRichSelect, I have a reactive array of values.
I pass this array to the TRichSelect via :value="myReactiveArray".
When I select different options in the dropdown, myReactiveArray is updated just fine.
When I try to clear the selection, I can see the input is cleared, while myReactiveArray is not.
By using the @input event, I can track the value changes of the selection. I wanted to update myReactiveArray at that moment, when the input is becoming empty, but it's poping an error.
So, I'm looking for a way to have myReactiveArray being synchronized with the TRichSelect and the clearable option.
And as per my tests, this clearable feature is not totally working: it should sync myReactiveArray, as much as selection/deselecting options in the dropdown are sync.
Best regards.
The text was updated successfully, but these errors were encountered:
Hi,
When using the TRichSelect component, it's possible to set :clearable="true'.
But I can't exactly figure out if it's working fine or not.
In my component wrapping a TRichSelect, I have a reactive array of values.
I pass this array to the TRichSelect via :value="myReactiveArray".
When I select different options in the dropdown, myReactiveArray is updated just fine.
When I try to clear the selection, I can see the input is cleared, while myReactiveArray is not.
By using the @input event, I can track the value changes of the selection. I wanted to update myReactiveArray at that moment, when the input is becoming empty, but it's poping an error.
So, I'm looking for a way to have myReactiveArray being synchronized with the TRichSelect and the clearable option.
And as per my tests, this clearable feature is not totally working: it should sync myReactiveArray, as much as selection/deselecting options in the dropdown are sync.
Best regards.
The text was updated successfully, but these errors were encountered: