The child Codex components Select and TypeaheadSearch emit events when interacted with.
- TypeaheadSearch emits input when the user types in the text field, and load-more when scrolling down to the bottom of the list
- Select emits update:selected when the selection value changes
In attempting to cover the component with tests, it appears that update:selected does not get emitted when the selection changes via prefix-searching. It is unclear whether this is broken in the normal state, or if this is an artifact of the way the test is written.
Timebox: 4 hours
Acceptance criteria
Investigate which events are being emitted under what circumstances and add tests to validate event behaviours where appropriate