Skip to content

make value prop mandatory on LakeSelect#886

Closed
Epimodev wants to merge 1 commit intomainfrom
fix-lake-select-type
Closed

make value prop mandatory on LakeSelect#886
Epimodev wants to merge 1 commit intomainfrom
fix-lake-select-type

Conversation

@Epimodev
Copy link
Contributor

The goal of this PR is making LakeSelect working well with Item containing undefined value. As value was optional, the type checker makes Item non undefined even if value could be undefined, making impossible to have undefined value in Item. Making value mandatory make TS better to inherit generic type on this component

@Epimodev Epimodev self-assigned this Feb 25, 2026
@Epimodev Epimodev requested a review from a team as a code owner February 25, 2026 15:13
@Epimodev
Copy link
Contributor Author

Finally it created more errors by doing this way, we'll avoid generic type inherit when we have items with undefined value

@Epimodev Epimodev closed this Feb 25, 2026
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