0
In this example it is possible to update the value of the field by clicking the confirmation button, however in my form there is no such button. What should I do to update this item/field?
My Jsfiddle form: http://jsfiddle.net/NfPcH/19435/
HTML:
<h4>Angular-xeditable Text (Bootstrap 3)</h4>
<form ng-app="app" ng-controller="Ctrl" editable-form>
<a href="#" ng-click="$form.$show();" e-ng-blur="$form.$hide();" editable-text="user.name">{{ user.name || 'empty' }}</a>
</form>
Javascript:
var app = angular.module("app", ["xeditable"]);
app.run(function(editableOptions) {
editableOptions.theme = 'bs3';
});
app.controller('Ctrl', function($scope) {
$scope.user = {
name: 'awesome user'
};
});