Commit ae0ad443 authored by Evren Kutar's avatar Evren Kutar

FIX inline edit date field format

rfix #5138
fixes GH-85
fixes zetaops/ulakbusGH-193
parent 60425f97
......@@ -211,10 +211,6 @@ angular.module('ulakbus.crud', ['schemaForm', 'ui.bootstrap', 'ulakbus.formServi
$scope.datepickerstatuses[field] = true;
};
$scope.dateSelect = function (model) {
scope.model[k] = angular.copy(generator.dateformatter(scope.model[k]));
};
$scope.createListObjects = function () {
if ($scope.object.constructor === Array) {
$log.debug('new type show object')
......
......@@ -2,7 +2,7 @@
class="form-control"
ng-if="node.schema.properties[k].type === 'date'"
ng-model="node.model[outerIndex][k]"
uib-datepicker-popup="{{node.model[outerIndex][k]}}"
uib-datepicker-popup="dd.MM.yyyy"
is-open="datepickerstatuses[outerIndex]"
close-text="Kapat"
current-text="Bugün"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment