vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

Searchable drop down support with the grid #436

Closed Sampath-Lokuge closed 8 years ago

Sampath-Lokuge commented 8 years ago

Hi,

Can I use searchable drop downs with this api ? I need to use it with the Editable row and Editable table.Please let me know about this.Thanks.

ckosloski commented 8 years ago

Not right now. You would have to integrate something like ui-select into the project.

Sampath-Lokuge commented 8 years ago

@ckosloski Yes,But I have seen there are problems on that integration.Please see the link below.Thanks.

ui-select Issues with Xeditable

ckosloski commented 8 years ago

I'm pretty sure the issue is that ui-select requires a model with a "." in it i.e. "model.dropdown". The model that gets passed to ui-select from xeditable is $data and that is why the example plunkr in the link your provided doesn't work.

Not quite sure how to fix it though.

Here is the link to the ui-select faq that explains the model behavior.

ckosloski commented 8 years ago

Actually, I think I have it working. Please check out this plunker that is a fork of the one you referenced.

Sampath-Lokuge commented 8 years ago

@ckosloski Aha.. Thanks a lot for the invaluable information.I'll also try it on coming days and will let you know.Thanks again :+1:

eugef commented 8 years ago

Fixed by #451