Primarily this is just exposing the needed attribute for controlling the visibility of the loading indicator for the Select in Angular, accompanied with an update to the example application showing how to manage dynamic options.
However, in the making of the example it became clear that a change to the Select web component was needed to make the client experience cleaner. Now, when the filter-input event is issued as part of the action of changing the value, the change event will occur first, followed by the filter-input event. This required not tying the emitting of the filter-input event to the updating of the open attribute, as we will still update the open state prior to issuing the change event.
๐งช Testing
Wrote new tests validating the new expected event ordering. Added typical Angular tests for new attribute.
โ Checklist
[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.
Pull Request
๐คจ Rationale
1866
๐ฉโ๐ป Implementation
Primarily this is just exposing the needed attribute for controlling the visibility of the loading indicator for the
Select
in Angular, accompanied with an update to the example application showing how to manage dynamic options.However, in the making of the example it became clear that a change to the
Select
web component was needed to make the client experience cleaner. Now, when thefilter-input
event is issued as part of the action of changing the value, thechange
event will occur first, followed by thefilter-input
event. This required not tying the emitting of thefilter-input
event to the updating of theopen
attribute, as we will still update theopen
state prior to issuing thechange
event.๐งช Testing
Wrote new tests validating the new expected event ordering. Added typical Angular tests for new attribute.
โ Checklist