This commit is contained in:
@@ -16,10 +16,12 @@ LODASH using _.has, _.forEach, _.drop
|
||||
|
||||
TODO NEXT
|
||||
|
||||
Make a decision on standard procedure like in Inventorywidgetlist form and loading locale text and what to do if there is an issue.
|
||||
- Just thinking maybe it's best to show form in either case of error or not because at least it's working even if the lt has an issue
|
||||
- Simpler is better
|
||||
-
|
||||
|
||||
DATETIME
|
||||
- Test UTC vs local. Dates are coming in as UTC, should they display as local or UTC??
|
||||
- It is already an option to set the local time zone so the conversion should be done based on the users time zone offset both coming in and going out
|
||||
- When done can make a widget with the correct date and time shown locally as per users time zone offset and will be sent to server as UTC
|
||||
- Test on mobile and desktop all browsers before moving on, it must be solid with error handling (required, after before etc) and etc and then if all is well we can move on to the other field types
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<v-icon>fa-ellipsis-v</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
<WidgetEdit :dialogdata="dialogdata" v-on:dialogclose="dialogdata.showeditdialog=false"/>
|
||||
|
||||
<v-data-table
|
||||
v-model="selected"
|
||||
:headers="headers"
|
||||
@@ -52,10 +52,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
// import localeText from "../api/locale";
|
||||
// import api from "../api/apiutil";
|
||||
import WidgetEdit from "../components/inventorywidgetedit";
|
||||
/* xeslint-disable */
|
||||
export default {
|
||||
created() {
|
||||
var that = this;
|
||||
@@ -77,16 +74,14 @@ export default {
|
||||
that.$_.forEach(that.headers, function(header) {
|
||||
header.text = that.$gzlocale.get(header.text);
|
||||
});
|
||||
//this.headers[0].text = this.$gzlocale.get("WidgetName");
|
||||
})
|
||||
.then(() => (this.formReady = true))
|
||||
.catch(err => {
|
||||
this.formReady = true; //show the form anyway so we know what's what
|
||||
throw err;
|
||||
});
|
||||
},
|
||||
components: {
|
||||
WidgetEdit
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
formReady: false,
|
||||
|
||||
Reference in New Issue
Block a user