-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tw): select input component rewrite #4337
base: master
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
interface ISelectOptions { | ||
value: string | number; | ||
label?: string; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I currently am building a screen where I want to use this component, I would like to insert objects with label as one of its fields. Would you be against adding this?
|
||
withDefaults( | ||
defineProps<{ | ||
id: string; | ||
modelValue: string | number; | ||
options: string[] | number[]; | ||
selectOptions: ISelectOptions[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note this changes the public api, all use cases need to be updated
What are the main changes you did:
how to test:
todo: