angular-xeditable
angular-xeditable copied to clipboard
Multiple Controls On Same Pop-over
Is this possible to implement? That is, it is probably implemented and I am wondering about how to do it.
For instance, I would something along the lines of this, except with two select fields and labels for each one.
https://vitalets.github.io/angular-xeditable/#/select-local
No, currently you can only do the pop-over for one xeditable element.
What about the Time format? There are clearly several controllers on a single popover. Is this built-into the x-editable?
What I am after is something that will edit one field, but at least allow for labels to be included on the pop-over. It would also be cool if one could attach several fields to be edited to one pop-over (that is triggered from a single link in DOM).
All single editable elements will work in a pop-over. There currently is nothing to create a form in a pop-over or string multiple elements together in a pop-over.
Pull requests are welcome :)
Let me see what I can do. I have not looked at the code yet. But I do need this for myself, so ... :)
@artforlife did you ever take a look at the code for a PR?
Take a look at this and see if it works for you.
@artforlife can this be closed?
@ckosloski - How do we validate the fields inside popup? (without closing the popup - example)
You need to return false from your onbeforesave
method
http://vitalets.github.io/angular-xeditable/#onbeforesave