multiple select #18

Closed
tallesdantas opened this Issue Jan 9, 2016 · 10 comments

Comments

Projects
None yet
2 participants
@tallesdantas

The multiple select doesnt work with semantcui { http://semantic-ui.com/ }, i think that it also doest work with bootstrap , when i use the $ctrl.select2({}); in init it works but it buggs the layout just working with the select2 api , please help.

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 9, 2016

Owner

please help

Help to do what?

Owner

ermouth commented Jan 9, 2016

please help

Help to do what?

@tallesdantas

This comment has been minimized.

Show comment
Hide comment
@tallesdantas

tallesdantas Jan 9, 2016

how can i use the multiple select of semantic ui http://semantic-ui.com/modules/dropdown.html with it?, its like bottstrap ,if i use $ctrl.select2({}); it glitchs the layout

how can i use the multiple select of semantic ui http://semantic-ui.com/modules/dropdown.html with it?, its like bottstrap ,if i use $ctrl.select2({}); it glitchs the layout

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 9, 2016

Owner

Seems to work fine if you create it using conventional SELECT, not a bunch of divs. Can you provide a code to reproduce your case?

Owner

ermouth commented Jan 9, 2016

Seems to work fine if you create it using conventional SELECT, not a bunch of divs. Can you provide a code to reproduce your case?

@tallesdantas

This comment has been minimized.

Show comment
Hide comment
@tallesdantas

tallesdantas Jan 9, 2016

i've tyed to use select too , but when i add a value and cancell it it holds the last one , becouse the default "select multiple(html pure)" aways holds a value, try add multiple values then cancell eatch one.

i've tyed to use select too , but when i add a value and cancell it it holds the last one , becouse the default "select multiple(html pure)" aways holds a value, try add multiple values then cancell eatch one.

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 10, 2016

Owner

Well, I see. It‘s indeed a bug. Will fix in 1.2.1 quiet soon, thank for pointing out.

Owner

ermouth commented Jan 10, 2016

Well, I see. It‘s indeed a bug. Will fix in 1.2.1 quiet soon, thank for pointing out.

@tallesdantas

This comment has been minimized.

Show comment
Hide comment
@tallesdantas

tallesdantas Jan 10, 2016

thanks, btw nice plugin it's mutch better than downloading a whole library like knowcout, makes me easyer to program, as soon as you fix it please tellme =D

thanks, btw nice plugin it's mutch better than downloading a whole library like knowcout, makes me easyer to program, as soon as you fix it please tellme =D

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 10, 2016

Owner

As a quick fix you can try to add return $o.val()||[]; right after line 424 with } of jquerymy.js. Hope it fix an issue at least in your particular case.

Owner

ermouth commented Jan 10, 2016

As a quick fix you can try to add return $o.val()||[]; right after line 424 with } of jquerymy.js. Hope it fix an issue at least in your particular case.

@tallesdantas

This comment has been minimized.

Show comment
Hide comment
@tallesdantas

tallesdantas Jan 10, 2016

Works like a charm , thanks =D

Works like a charm , thanks =D

@ermouth ermouth added the bug label Jan 12, 2016

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 12, 2016

Owner

Reopen as a bug to fix into 1.2.1
Invalid behavior for select[multiple], does not allow to uncheck last elt in the list and make list empty. Takes place due to $('').val() returns null, not []

Owner

ermouth commented Jan 12, 2016

Reopen as a bug to fix into 1.2.1
Invalid behavior for select[multiple], does not allow to uncheck last elt in the list and make list empty. Takes place due to $('').val() returns null, not []

@ermouth ermouth reopened this Jan 12, 2016

@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth Jan 13, 2016

Owner

Fixed in 1.2.1

Owner

ermouth commented Jan 13, 2016

Fixed in 1.2.1

@ermouth ermouth closed this Jan 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment