indrimuska / angular-selector

A native AngularJS directive that transform a simple <select> box into a full html select with typeahead.
http://indrimuska.github.io/angular-selector
MIT License
96 stars 36 forks source link

Getting Selected Value #52

Closed sajeeshe closed 8 years ago

sajeeshe commented 8 years ago

Hi, I am trying to use this plugin. Its working nice but one issue is when I post the form I get object instead of the selected value. I tried my best but no luck. Can you help me to resolve this please ?

My major problem is I have to use this in a ng-repeat loop.

sajeeshe commented 8 years ago

this is how I get in my php file

[frmMerchant] => object:2807 [frmVenue] => object:2815

indrimuska commented 8 years ago

Hi @sajeeshe, have you set the value-attr property? https://github.com/indrimuska/angular-selector#options

sajeeshe commented 8 years ago

Yes but still getting the same On Jun 27, 2016 7:13 PM, "indrimuska" notifications@github.com wrote:

Hi @sajeeshe https://github.com/sajeeshe, have you set the value-attr property? https://github.com/indrimuska/angular-selector#options

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/indrimuska/angular-selector/issues/52#issuecomment-228749177, or mute the thread https://github.com/notifications/unsubscribe/ACTf7skH-mbUXaOEAjXl8ZaOaeOA6r92ks5qP9OSgaJpZM4I_AvO .

indrimuska commented 8 years ago

Ok, could you please provide a plunker or a working example showing that?

indrimuska commented 8 years ago

I'm going to close this issue, feel free to open again if you still find any problems. :)