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

UISelect is not returning the pure value #270

Closed
peXed opened this issue Mar 3, 2017 · 1 comment
Closed

UISelect is not returning the pure value #270

peXed opened this issue Mar 3, 2017 · 1 comment

Comments

@peXed
Copy link

peXed commented Mar 3, 2017

Hello!

I'm not sure if I do something wrong or if the component is broken. If I set the options for the ui-select to a Array with options like:

[ {label: 'Mr.', value: 1 }, {label: 'Mrs.', value: 2 }, {label: 'Company.', value: 3 }, ]

The v-model gets set to an object and not to a simple number.

Is there a way to change this behaviour?

Thanks.

@JosephusPaye
Copy link
Owner

Hi @peXed,

See my comment on a similar issue here: #107 (comment). Perhaps I'll revisit this in a future release. Meanwhile, contributions are welcome.

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

No branches or pull requests

2 participants