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

[form-select] Does not work with "multiple" option #619

Closed
tmorehouse opened this Issue Jul 2, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@tmorehouse
Member

tmorehouse commented Jul 2, 2017

b-form-select does not work with multiple selections,

The custom control option might need to be disabled in order to displaya multi-select correctly, and a size/height may also need to be set to increase the height of the multi-selectbox.

Return value should be an array of objects (or values) when multiple is set to true.

@tmorehouse tmorehouse self-assigned this Jul 2, 2017

@tmorehouse

This comment has been minimized.

Member

tmorehouse commented Jul 2, 2017

native select also uses a size attribute for specifying how many lines to show. I think we would have to make a new property select-size to act as this attribute

@tmorehouse

This comment has been minimized.

Member

tmorehouse commented Jul 2, 2017

Currently custom-select doesn't support multiple:
twbs/bootstrap#22065

@tmorehouse tmorehouse added this to the v0.19.0 milestone Jul 25, 2017

@tmorehouse tmorehouse closed this Jul 27, 2017

tmorehouse added a commit that referenced this issue Jul 28, 2017

feat(form-select): Add multiple select support (issue #619) (#731)
* feat(form-options): Add multiple select support to mixin

* [form-select] Support multiple select

Adds multiple elect support to form-select.

new props:
- `multiple` enabled multiple select support
- `multiple-size` set the number of rows displayed in multiple select. Defaults to browser default size

* docs(form-select): Document multiple select option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment