diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 39da0f02..478bcb5a 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -35,9 +35,27 @@ To REMOVE: apt-get remove dotnet-runtime-3.0 (replace 3.0 with whatever version MISC ITEMS THAT CAME UP -todo: bugbug datetime control clear buttons don't trigger emit of empty date times +todo: DATE / TIME / DATE_TIME controls switch back to vuetify ones + Ensure can clear completely to null value + Test it out thoroughly there was a reason I quit using it the first time + i18n + smoke test (maybe some way to bypass the control for test purposes) + Is it possible to still keep the native ones in there somehow with a v-if template and a setting? + maybe get the nonnative one working then look into supporting this for edge cases or future proofing + + + Lots of warnings about using native ones on the MDN site, looks like I should use a component of some kind + so if I do I might as well use the vuetify ones since there are no substantially greater options out there + + It would be very nice though if I could opt to have the user be able to choose alternatives like a native input for when + browser makers actually get around to implementing them properly, some have and some are good but some like apple just don't work + + bugbug datetime control clear buttons don't trigger emit of empty date times contractexpires on customer form clearing it and saving sends date to server as if it wasn't cleared at all Better solution: one clear button that clears all and emits properly and disable the built in if possible + + + todo: gz-data-table make sure unbounded notes column is bounded by some length restriction mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded this should apply to any column that displays text but particularly just the plain text ones diff --git a/ayanova/src/components/date-time-control.vue b/ayanova/src/components/date-time-control.vue index f8357c73..ea409208 100644 --- a/ayanova/src/components/date-time-control.vue +++ b/ayanova/src/components/date-time-control.vue @@ -1,91 +1,129 @@ diff --git a/ayanova/src/components/date-time-non-native-control.vue b/ayanova/src/components/date-time-non-native-control.vue deleted file mode 100644 index ea409208..00000000 --- a/ayanova/src/components/date-time-non-native-control.vue +++ /dev/null @@ -1,203 +0,0 @@ - - diff --git a/ayanova/src/main.js b/ayanova/src/main.js index 38e955f2..03c2ccae 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -33,8 +33,8 @@ import gzenums from "./api/enums"; import "@/assets/css/main.css"; //controls -import dateTimeControl from "./components/date-time-control.vue"; -//import dateTimeControl2 from "./components/date-time-non-native-control.vue";//keeping around in case need it for some reason +//import dateTimeControl from "./components/date-time-control.vue"; +import dateTimeControl from "./components/date-time-control.vue"; import dateControl from "./components/date-control.vue"; import timeControl from "./components/time-control.vue"; import tagPicker from "./components/tag-picker.vue"; @@ -177,8 +177,8 @@ document.addEventListener("fetchEnd", function() { ///////////////////////////////////////////////////////////// //GZ COMPONENTS // -Vue.component("gz-date-time-picker", dateTimeControl); -//Vue.component("gz-date-time-non-native-picker", dateTimeNonNativeControl);//keeping in case decide to support alternative (at this time mostly for mac ios it seems) + +Vue.component("gz-date-time-picker", dateTimeControl); //keeping in case decide to support alternative (at this time mostly for mac ios it seems) Vue.component("gz-date-picker", dateControl); Vue.component("gz-time-picker", timeControl); Vue.component("gz-tag-picker", tagPicker); diff --git a/ayanova/src/views/cust-customer.vue b/ayanova/src/views/cust-customer.vue index cbd9975e..df95d19b 100644 --- a/ayanova/src/views/cust-customer.vue +++ b/ayanova/src/views/cust-customer.vue @@ -2,6 +2,7 @@ + {{ obj.contractExpires }}
@@ -187,7 +188,7 @@ @@ -232,7 +233,7 @@