Skip to content

docs: update Select TS examples to use SelectItemData#5831

Merged
web-padawan merged 1 commit into
mainfrom
docs/select-item-data-ts
Jul 23, 2026
Merged

docs: update Select TS examples to use SelectItemData#5831
web-padawan merged 1 commit into
mainfrom
docs/select-item-data-ts

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Updated TS examples to replace deprecated SelectItem with the new SelectItemData TS type.

@web-padawan
web-padawan removed the request for review from sissbruecker July 23, 2026 09:33
@web-padawan
web-padawan merged commit 0ede37e into main Jul 23, 2026
7 of 8 checks passed
@web-padawan
web-padawan deleted the docs/select-item-data-ts branch July 23, 2026 09:40
ZheSun88 added a commit to vaadin/platform-in-test-script that referenced this pull request Jul 23, 2026
… v25.3

@vaadin/react-components 25.3 added a SelectItem component (a value), so the
former SelectItem type is now exported as SelectItemData. Using SelectItem in a
type position (e.g. useState<SelectItem[]>) fails to compile with TS2749 in the
production build-frontend step. Rename to SelectItemData per vaadin/docs#5831.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants