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

Using xeditable in AngularUi Tab Heading

Open mikyladewitt opened this issue 12 years ago • 4 comments

Hello,

Is there a way to allow the xeditable fields work within an AngularUI Tab Heading? Currently, the submit does not seem to do anything. Not sure if this is an angular-ui issue or a xeditable issue.

Here is a stackoverflow question that details the problem and a jsfiddle from that same question.

This works great otherwise though!

mikyladewitt avatar Apr 04 '14 01:04 mikyladewitt

Hello,

I have the same issue ..is there any workaround please for this?

hfar avatar Mar 17 '15 13:03 hfar

Hello,

I had the same issue and in my case i was able to solve it using blur attribute :

<tab-heading>
   <span editable-text="tab.name" onbeforesave="validate($data)" buttons="no" blur="submit">{{ tab.name}}</span>
 </tab-heading>

Please see the documentation.

Also please see the below code in xeditable.js:

if (shown[i]._blur === 'submit') {
        toSubmit.push(shown[i]);
      }

hfar avatar Mar 17 '15 13:03 hfar

Please see discussion in #563, you need to change the template of the header in order for the clicks to work correctly.

Please close.

ckosloski avatar Oct 27 '16 16:10 ckosloski

@eugef I think this can be closed.

ckosloski avatar Jan 16 '17 14:01 ckosloski