Choices/test/scripts/components
terminalchai 848393233d test(e2e): add input width tests for select-one and select-multiple
- Add setWidth=true for select-one in _onInput (removes the SelectOne
  exclusion so both types now update width consistently on input)
- Update the corresponding unit test to reflect new behaviour
- Add two HTML test fixtures to both select-one and select-multiple
  test pages: input-width-placeholder (CJK placeholder) and
  input-width-typing (for typing width verification)
- Add describe('Input width') blocks to select-one.spec.ts and
  select-multiple.spec.ts covering:
  * CJK placeholder sets minWidth in ch units
  * Typing English 'f' sets style.width to '2ch'
  * Typing CJK '中' sets style.width to a valid ch value

Closes testing gap for the DOM-based setWidth implementation
2026-03-11 00:26:29 +05:30
..
container.test.ts Fix dropdown flip logic did not consider verticality of both sides of the dropdown (ref: https://github.com/formio/Choices/pull/2) 2024-08-26 02:36:55 +08:00
dropdown.test.ts linting fixes 2024-08-26 02:47:22 +08:00
input.test.ts test(e2e): add input width tests for select-one and select-multiple 2026-03-11 00:26:29 +05:30
list.test.ts Cleanup unused import 2024-08-27 20:50:47 +08:00
wrapped-element.test.ts It isn't the 1990s where 1080p monitors were exotic 2024-08-14 19:53:48 +08:00
wrapped-input.test.ts It isn't the 1990s where 1080p monitors were exotic 2024-08-14 19:53:48 +08:00
wrapped-select.test.ts Support <option> label attribute 2025-03-14 09:36:07 +08:00