Rui Gao
Rui Gao
@ckosloski So firstly should xeditable inputs save to model regardless the input text/value is empty or not? I mean do you consider this behavior a defect or it is by...
Currently I have to use $timeout with 1 second delay in `onaftersave` to let $watch callback run first.
http://jsfiddle.net/e974t8qr/3/
> When you submit editable form it performs following steps: > > 1. call child's onbeforesave > 2. call form's onbeforesave > 3. write data to local model (e.g. $scope.user)...
For someone meets the same problem, here's what I'm doing now as a workaround: ``` link: function(scope, element, attrs) { // ... var formElement = element.parents('form'); var oldCallbackName = formElement.attr('onaftersave').replace('()',...
OK, do you want to rename the title?
Yes it works. It just doesn't work with `track by`. Angular could work with `track by`, but the model have to be entire object as in `ng-options`: http://jsfiddle.net/psaovgx2/8/ However, when...
@ckosloski it could work if the dropdown-menu is created by angular-bootstrap library.
@ckosloski I use it to refresh the select list and view/create new item. The 'select' and dropdown-menu stay in a row.
The inputs are editable-select, a dropdown menu is next to it. The items in the select could be viewed/created/refreshed by choosing one of the dropdown menu item.