Choices: Can not get multiple select values after update 4.x

Created on 27 Oct 2018  路  4Comments  路  Source: Choices-js/Choices

Hi,

I am not sure how I can explain it.

I am trying to get multiple select values with $select.val() but i cannot get values after update 4.x

Why we need this, because sometimes we are using $form.serialize(), $form.serializeArray() for AJAX save form.

Btw, normal select works. The problem was multiple select. You can see examples:

Works: v3.0.4 JSFiddle Example
Not Works: v4.0.1 JSFiddle Example

The great library really. thanks for creating it.
Regards

Most helpful comment

@CodeExplore This has now been resolved (version 4.0.2) :) http://jsfiddle.net/g2nw4zxr/2/

Thanks

All 4 comments

@CodeExplore Thanks, it's a bug and an easy fix. Will update you when it's been fixed 馃憤

@jshjohnson thank you for time. I will wait for the update. :+1:

Have a nice day.
Regards

@CodeExplore This has now been resolved (version 4.0.2) :) http://jsfiddle.net/g2nw4zxr/2/

Thanks

@jshjohnson Great! It works :100: I moved to the new version now :+1:

Thanks for the effort.
Regards

Was this page helpful?
0 / 5 - 0 ratings

Related issues

notflip picture notflip  路  3Comments

ggcaponetto picture ggcaponetto  路  4Comments

alfonsoar picture alfonsoar  路  4Comments

kjugi picture kjugi  路  3Comments

rstacruz picture rstacruz  路  4Comments