vitalets / angular-xeditable

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

Only one input open at a time #342

Open peterwarbo opened 9 years ago

peterwarbo commented 9 years ago

I'm trying to figure out how to have only one input open at a time. For instance if I click on a link <a href="#" editable-text="user.name">{{ user.name || 'empty' }}</a> to edit the input and then I click on another link, the first link will still be in edit (instead of just showing a link). So there will be 2 input fields showing.

Instead I just want the first input to be closed and showing a link and the second to show input.

Anisotropic commented 9 years ago

I have same issue and can`t realize where is a bug

peterwarbo commented 9 years ago

It seems to be a bug in 0.1.9. If you use 0.1.8 it works as expected.

corinagum commented 8 years ago

Having the same issue, but changing to 0.1.8 did not fix it. Has anyone found another resolution?

Pavan1889 commented 8 years ago

Hi I'm facing same issue still till date!! if anyone has solution to this please post here.

ckosloski commented 8 years ago

Have you tried this on the most recent build?

ckosloski commented 7 years ago

@Pavan1889 have you tried this on the most recent build?