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

six-select support for any object as value #58

Open
tomwilhelm opened this issue Jul 27, 2023 · 1 comment
Open

six-select support for any object as value #58

tomwilhelm opened this issue Jul 27, 2023 · 1 comment
Assignees

Comments

@tomwilhelm
Copy link

What problem does this feature solve?

In our project we use the Angular Form Control to save user input which he selects in a six-select. Unfortunately the six-select currently only supports string/string[] as value input. So we only can save string/string[] in our FormControl. If the six-select would take any object type as value we could save us some parsing and could save the selection directly as typed objects.

What does the proposed API look like?

instead of

value value The value of the control. This will be a string or an array depending on multiple. string | string[] ''
i would prefer it more in this way:
value value The value of the control. This will be a string or an array depending on multiple. any ''
similar to the material angular select: https://material.angular.io/components/select/api
@colinscz colinscz self-assigned this Jan 31, 2024
@stefanrufer
Copy link
Collaborator

Is this resolved in the meantime?

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

No branches or pull requests

3 participants