mi6 / mi6/ic-ui-kit

Internal issue 2999 - The Select web component is missing an options attribute

Open
#3,367 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.