Bert Leunis pushed to branch feature/CHANNELMGR-1391 at cms-community / 
hippo-addon-channel-manager


Commits:
756ae859 by Bert Leunis at 2018-03-05T10:25:00+01:00
CHANNELMGR-1391 introduce material date picker

- - - - -


1 changed file:

- 
frontend-ng/src/app/channel/sidePanels/rightSidePanel/contentEditor/fields/primitiveField/primitiveField.html


Changes:

=====================================
frontend-ng/src/app/channel/sidePanels/rightSidePanel/contentEditor/fields/primitiveField/primitiveField.html
=====================================
--- 
a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/contentEditor/fields/primitiveField/primitiveField.html
+++ 
b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/contentEditor/fields/primitiveField/primitiveField.html
@@ -72,15 +72,13 @@
            ng-required="::$ctrl.fieldType.required"
            ng-pattern="/^[+-]?((\d+((\.)\d*)?)|((\.)\d+))$/">
 
-    <input ng-switch-when="DATE"
-           ng-model="fieldValue.value"
-           ng-change="$ctrl.valueChanged()"
-           name="{{::$ctrl.getFieldName($index)}}"
-           aria-label="{{::$ctrl.fieldType.displayName}}"
-           ng-focus="$ctrl.focusPrimitive($event)"
-           ng-blur="$ctrl.blurPrimitive($event)"
-           ng-required="::$ctrl.fieldType.required"
-           >
+    <md-datepicker ng-switch-when="DATE"
+                   ng-model="fieldValue.value"
+                   ng-change="$ctrl.valueChanged()"
+                   aria-label="{{::$ctrl.fieldType.displayName}}"
+                   ng-focus="$ctrl.focusPrimitive($event)"
+                   ng-blur="$ctrl.blurPrimitive($event)"
+                   ng-required="::$ctrl.fieldType.required"/>
 
     <textarea ng-switch-when="MULTILINE_STRING"
               ng-model="fieldValue.value"



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/756ae8596d43f7f3d13eec4669417cbb9686bc5d

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/756ae8596d43f7f3d13eec4669417cbb9686bc5d
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to