angular-xeditable icon indicating copy to clipboard operation
angular-xeditable copied to clipboard

Multiple Controls On Same Pop-over

Open artforlife opened this issue 8 years ago • 9 comments

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

artforlife avatar Sep 11 '16 20:09 artforlife

No, currently you can only do the pop-over for one xeditable element.

ckosloski avatar Sep 12 '16 21:09 ckosloski

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).

artforlife avatar Sep 13 '16 21:09 artforlife

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 :)

ckosloski avatar Sep 13 '16 21:09 ckosloski

Let me see what I can do. I have not looked at the code yet. But I do need this for myself, so ... :)

artforlife avatar Sep 13 '16 21:09 artforlife

@artforlife did you ever take a look at the code for a PR?

ckosloski avatar Feb 27 '17 16:02 ckosloski

Take a look at this and see if it works for you.

ckosloski avatar May 09 '17 13:05 ckosloski

@artforlife can this be closed?

ckosloski avatar Nov 13 '17 18:11 ckosloski

@ckosloski - How do we validate the fields inside popup? (without closing the popup - example)

santoshgiridhar avatar Oct 11 '19 22:10 santoshgiridhar

You need to return false from your onbeforesave method http://vitalets.github.io/angular-xeditable/#onbeforesave

ckosloski avatar Oct 14 '19 13:10 ckosloski