Internal issue 2999 - The Select web component is missing an options attribute
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
When using the Select component in its Web Component form, not the React variant, there is no options attribute. There is only an options property, which prevents us from supplying the component with options in server-side templates. Although we would have to encode the object as JSON to pass it in, and the component would have to decode the JSON to receive the options, we need such an attribute to utilise the component in Java JTE templates with the HTMX library.
Contributor guide
Research direction
Locate the Select web component implementation and inspect how its existing options property is handled. Verify how server-rendered attributes are received by the component; the work is done when an options attribute can supply JSON-encoded options in Java JTE templates without affecting the React variant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100