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

Implements checkbox groups and fixes false negative select multple attribute check. #128

Merged
merged 2 commits into from
Jan 8, 2016

Conversation

Kanaye
Copy link
Collaborator

@Kanaye Kanaye commented Jan 8, 2016

Implements checkbox groups and fixes false negative (falsy) select multiple detection.

Here a working example with a built version of it:https://jsfiddle.net/a22gvf9u/

Closes #123

Joscha Rohmann added 2 commits January 7, 2016 23:54
They didn't work as the vale of the 'multiple' in '<select multiple>' is
'' and therefore falsy.
The 'checked'/'attr'-data-query with 'checked' as attribute will accept
arrays/array-observables as the 'value' parameter
and try to find their value in the array to set the value
and add their value to the array when checked.
@astoilkov
Copy link
Owner

I like that. Excellent work.

astoilkov added a commit that referenced this pull request Jan 8, 2016
Implements checkbox groups and fixes false negative select multple attribute check.
@astoilkov astoilkov merged commit b72e8cc into astoilkov:master Jan 8, 2016
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.

Select to map to Model with options data-query
2 participants