six-webcomponents icon indicating copy to clipboard operation
six-webcomponents copied to clipboard

six-select support for any object as value

Open tomwilhelm opened this issue 1 year ago • 1 comments

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

tomwilhelm avatar Jul 27 '23 11:07 tomwilhelm

Is this resolved in the meantime?

stefanrufer avatar Sep 11 '24 14:09 stefanrufer