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

Wrap template in a <div> rather than a <form>?

Open mcblum opened this issue 9 years ago • 2 comments

Would this be possible? I changed it in the template but then there was an error with the controller.

Thanks! Matt

mcblum avatar Jan 12 '16 19:01 mcblum

@mcblum yes you can do this, I had to make some changes to the editableForm directive. I'm trying to open a pull request for this as a solution to https://github.com/vitalets/angular-xeditable/issues/157. My problem is I'm not sure how to run the tests to see if I broke anything else - https://github.com/vitalets/angular-xeditable/issues/405

That said my changes have been working well for me. I have complex forms inside my editable components.

lalitkapoor avatar Jan 12 '16 23:01 lalitkapoor

@lalitkapoor are you going to create a pull request?

ckosloski avatar Nov 07 '16 17:11 ckosloski