Skip to content
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

[2.0] API refactor: extension components #5878

Draft
wants to merge 21 commits into
base: next-2.0
Choose a base branch
from

Conversation

stsrki
Copy link
Collaborator

@stsrki stsrki commented Dec 4, 2024

Continuation of #5657

Working on changing the API for extension components. The new API will drop SelectedValue and SelectedValues and replace them with a single parameter, Value, which handles all the use cases.

  • DropdownList
  • SelectList
  • TransferList
  • ListView

The change of API also required that the TValue of the component cannot be defined as a single type when it works in Multiple modes, eg.

  • Old: <DropdownList TValue="string"
  • New: <DropdownList TValue="<IReadOnlyList<string>"

@stsrki stsrki changed the title Next 2.0 extension apis [2.0] API refactor: extension components Dec 4, 2024
@stsrki stsrki requested a review from tesar-tech December 4, 2024 10:18
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.

1 participant