This commit is contained in:
2019-06-19 22:26:28 +00:00
parent e5abc116e2
commit 3c89ce816b
2 changed files with 17 additions and 14 deletions

View File

@@ -78,6 +78,7 @@ DONE: Turn widget edit ROLES into a static select populated from server
DONE: Widget - NOTES FIELD DONE: Widget - NOTES FIELD
TODO: TAGS!!! TODO: TAGS!!!
- Adding a new tag doesn't flag the record as dirty! (selecting does though) - Adding a new tag doesn't flag the record as dirty! (selecting does though)
- Layout: tags seems to buried into the rest of the form fields, maybe needs more whitespace around it, or a box
- COMPONENTIZE - COMPONENTIZE
TODO: Custom fields TODO: Custom fields

View File

@@ -138,6 +138,19 @@
@change="onChange('roles')" @change="onChange('roles')"
></v-select> ></v-select>
</v-flex> </v-flex>
<v-flex xs12 px-2>
<v-textarea
v-model="obj.notes"
:readonly="this.formState.readOnly"
:label="this.$gzlocale.get('WidgetNotes')"
:error-messages="this.$gzform.serverErrors(this, 'notes')"
ref="notes"
@change="onChange('notes')"
auto-grow
></v-textarea>
</v-flex>
<v-flex xs12 px-2> <v-flex xs12 px-2>
<v-autocomplete <v-autocomplete
v-model="obj.tags" v-model="obj.tags"
@@ -177,25 +190,14 @@
</template> </template>
</v-autocomplete> </v-autocomplete>
</v-flex> </v-flex>
<v-flex xs12 px-2>
<v-textarea
v-model="obj.notes"
:readonly="this.formState.readOnly"
:label="this.$gzlocale.get('WidgetNotes')"
:error-messages="this.$gzform.serverErrors(this, 'notes')"
ref="notes"
@change="onChange('notes')"
auto-grow
></v-textarea>
</v-flex>
</v-layout> </v-layout>
<v-layout align-left justify-center row wrap mt-5> <!-- <v-layout align-left justify-center row wrap mt-5>
<v-flex xs6 sm4> <v-flex xs6 sm4>
tags: {{ obj.tags }} tags: {{ obj.tags }}
<br /> <br />
TagPickList: {{ pickLists.tags }} TagPickList: {{ pickLists.tags }}
</v-flex> </v-flex>
</v-layout> </v-layout> -->
<!-- <v-layout align-left justify-center row wrap mt-5> <!-- <v-layout align-left justify-center row wrap mt-5>
<v-flex xs6 sm4> <v-flex xs6 sm4>
READY: {{ formState.ready }} READY: {{ formState.ready }}