This commit is contained in:
2021-06-29 23:52:17 +00:00
parent 92d7d8a1ea
commit 655e216db9
2 changed files with 21 additions and 3 deletions

View File

@@ -416,7 +416,7 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING:
CURRENTLY DOING: make sure tags is fixed fully after created change
bugbug: tags are not *displaying* when a record is opened until click in a field
@@ -435,6 +435,13 @@ bugbug: tags are not *displaying* when a record is opened until click in a field
check for another use of v-autocomplete and see if same issue to confirm then check for update since or bug reports on vuetify
Maybe just check for front end updates through vue ui and if there any vuetify do it then check if fixed before digging too deeply
Weird but was using beforeUpdate in tags and no where else so switched to created adn now it works
could find no changes related to this specifically but there was a bunch of vue changes
so it appears to work properly now at least tested in wo and customer just opening and viewing
TODO: test making new tags in new record, editing tags etc and adding to make sure it's really working properly
todo: User duplicate not working, error about optionsobj
Message:_vm.optionsObj is undefined

View File

@@ -37,14 +37,25 @@
////////////////////////////////////////////////////////////////////////////////////////////////////////////
export default {
beforeUpdate() {
//this was the original code that was working for months, even years then suddenly stopped working after a vue update
// beforeUpdate() {
// console.log("TAG-PICKER: beforeupdate called");
// //Set the initial list items based on the record items, this only needs to be called once at init
// if (!this.initialized && this.value != null && this.value.length > 0) {
// console.log("TAG-PICKER: beforeupdate init in if statement");
// this.sourcetags = this.value;
// this.initialized = true;
// }
// },
created() {
//Set the initial list items based on the record items, this only needs to be called once at init
if (!this.initialized && this.value != null && this.value.length > 0) {
this.sourcetags = this.value;
this.initialized = true;
}
},
data() {
return {
sourcetags: [],