Open bhalanirw opened 4 years ago
Cannot set property 'value' of undefined Uncaught TypeError: Cannot set property 'value' of undefined at eval (verte.esm.js?36fc:1072) eval @ verte.esm.js?36fc:1072 requestAnimationFrame (async) updateValue @ verte.esm.js?36fc:1059 eval @ verte.esm.js?36fc:1098 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 beforeMount @ vuetify.js?ce5b:37200 invokeWithErrorHandling @ vue.common.dev.js?4650:1859 callHook @ vue.common.dev.js?4650:4216 mountComponent @ vue.common.dev.js?4650:4040 Vue.$mount @ vue.common.dev.js?4650:9040 Vue.$mount @ vue.common.dev.js?4650:11940 init @ vue.common.dev.js?4650:3121 createComponent @ vue.common.dev.js?4650:5969 createElm @ vue.common.dev.js?4650:5916 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 patch @ vue.common.dev.js?4650:6466 Vue._update @ vue.common.dev.js?4650:3942 updateComponent @ vue.common.dev.js?4650:4063 get @ vue.common.dev.js?4650:4474 Watcher @ vue.common.dev.js?4650:4463 mountComponent @ vue.common.dev.js?4650:4070 Vue.$mount @ vue.common.dev.js?4650:9040 Vue.$mount @ vue.common.dev.js?4650:11940 init @ vue.common.dev.js?4650:3121 createComponent @ vue.common.dev.js?4650:5969 createElm @ vue.common.dev.js?4650:5916 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 patch @ vue.common.dev.js?4650:6505 Vue._update @ vue.common.dev.js?4650:3945 updateComponent @ vue.common.dev.js?4650:4063 get @ vue.common.dev.js?4650:4474 run @ vue.common.dev.js?4650:4549 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 proxySetter @ vue.common.dev.js?4650:4626 updateItem @ vuetify.js?ce5b:17646 eval @ vuetify.js?ce5b:17660 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 updateItemsState @ vuetify.js?ce5b:17652 run @ vue.common.dev.js?4650:4563 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 proxySetter @ vue.common.dev.js?4650:4626 set @ vuetify.js?ce5b:38473 updateSingle @ vuetify.js?ce5b:17698 updateInternalValue @ vuetify.js?ce5b:17664 updateMandatory @ vuetify.js?ce5b:17677 eval @ vuetify.js?ce5b:17654 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 onRouteChange @ vuetify.js?ce5b:38882 run @ vue.common.dev.js?4650:4563 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 SET_LOADING @ index.js?9b91:162 wrappedMutationHandler @ vuex.esm.js?2f62:840 commitIterator @ vuex.esm.js?2f62:462 eval @ vuex.esm.js?2f62:461 _withCommit @ vuex.esm.js?2f62:620 commit @ vuex.esm.js?2f62:460 boundCommit @ vuex.esm.js?2f62:405 _callee$ @ index.js?9b91:75 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ m5Ha:38 _next @ m5Ha:40 eval @ m5Ha:40 eval @ m5Ha:40 setLoading @ index.js?9b91:74 wrappedActionHandler @ vuex.esm.js?2f62:847 dispatch @ vuex.esm.js?2f62:512 boundDispatch @ vuex.esm.js?2f62:402 _callee2$ @ beforeEach.js?92df:17 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ kt+k:6 _next @ kt+k:8 eval @ kt+k:8 eval @ kt+k:8 startLoading @ beforeEach.js?92df:16 iterator @ vue-router.esm.js?8c4f:2252 step @ vue-router.esm.js?8c4f:1898 eval @ vue-router.esm.js?8c4f:1899 eval @ vue-router.esm.js?8c4f:2274 _callee$ @ beforeEach.js?92df:12 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ kt+k:6 _next @ kt+k:8 eval @ kt+k:8 eval @ kt+k:8 maintenance @ beforeEach.js?92df:6 iterator @ vue-router.esm.js?8c4f:2252 step @ vue-router.esm.js?8c4f:1898 step @ vue-router.esm.js?8c4f:1902 runQueue @ vue-router.esm.js?8c4f:1906 confirmTransition @ vue-router.esm.js?8c4f:2282 transitionTo @ vue-router.esm.js?8c4f:2152 push @ vue-router.esm.js?8c4f:2519 push @ vue-router.esm.js?8c4f:2953 push @ router.js?a11d:27 handler @ vue-router.esm.js?8c4f:1102 invokeWithErrorHandling @ vue.common.dev.js?4650:1859 invoker @ vue.common.dev.js?4650:2184 original._wrapper @ vue.common.dev.js?4650:7543 Show 80 more frames sentry.js?ef25:41 An error occurred. Message: Uncaught TypeError: Cannot set property 'value' of undefined Source: webpack-internal:///Nvws Line: 1073 Column: 34
Expected behavior If this.$refs.input is available then only set the current value to it.
this.$refs.input
Desktop
Cannot set property 'value' of undefined Uncaught TypeError: Cannot set property 'value' of undefined at eval (verte.esm.js?36fc:1072) eval @ verte.esm.js?36fc:1072 requestAnimationFrame (async) updateValue @ verte.esm.js?36fc:1059 eval @ verte.esm.js?36fc:1098 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 beforeMount @ vuetify.js?ce5b:37200 invokeWithErrorHandling @ vue.common.dev.js?4650:1859 callHook @ vue.common.dev.js?4650:4216 mountComponent @ vue.common.dev.js?4650:4040 Vue.$mount @ vue.common.dev.js?4650:9040 Vue.$mount @ vue.common.dev.js?4650:11940 init @ vue.common.dev.js?4650:3121 createComponent @ vue.common.dev.js?4650:5969 createElm @ vue.common.dev.js?4650:5916 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 patch @ vue.common.dev.js?4650:6466 Vue._update @ vue.common.dev.js?4650:3942 updateComponent @ vue.common.dev.js?4650:4063 get @ vue.common.dev.js?4650:4474 Watcher @ vue.common.dev.js?4650:4463 mountComponent @ vue.common.dev.js?4650:4070 Vue.$mount @ vue.common.dev.js?4650:9040 Vue.$mount @ vue.common.dev.js?4650:11940 init @ vue.common.dev.js?4650:3121 createComponent @ vue.common.dev.js?4650:5969 createElm @ vue.common.dev.js?4650:5916 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 createChildren @ vue.common.dev.js?4650:6044 createElm @ vue.common.dev.js?4650:5945 patch @ vue.common.dev.js?4650:6505 Vue._update @ vue.common.dev.js?4650:3945 updateComponent @ vue.common.dev.js?4650:4063 get @ vue.common.dev.js?4650:4474 run @ vue.common.dev.js?4650:4549 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 proxySetter @ vue.common.dev.js?4650:4626 updateItem @ vuetify.js?ce5b:17646 eval @ vuetify.js?ce5b:17660 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 updateItemsState @ vuetify.js?ce5b:17652 run @ vue.common.dev.js?4650:4563 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 proxySetter @ vue.common.dev.js?4650:4626 set @ vuetify.js?ce5b:38473 updateSingle @ vuetify.js?ce5b:17698 updateInternalValue @ vuetify.js?ce5b:17664 updateMandatory @ vuetify.js?ce5b:17677 eval @ vuetify.js?ce5b:17654 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 Vue.$nextTick @ vue.common.dev.js?4650:3520 onRouteChange @ vuetify.js?ce5b:38882 run @ vue.common.dev.js?4650:4563 flushSchedulerQueue @ vue.common.dev.js?4650:4307 eval @ vue.common.dev.js?4650:1985 flushCallbacks @ vue.common.dev.js?4650:1911 Promise.then (async) timerFunc @ vue.common.dev.js?4650:1938 nextTick @ vue.common.dev.js?4650:1995 queueWatcher @ vue.common.dev.js?4650:4399 update @ vue.common.dev.js?4650:4539 notify @ vue.common.dev.js?4650:741 reactiveSetter @ vue.common.dev.js?4650:1066 SET_LOADING @ index.js?9b91:162 wrappedMutationHandler @ vuex.esm.js?2f62:840 commitIterator @ vuex.esm.js?2f62:462 eval @ vuex.esm.js?2f62:461 _withCommit @ vuex.esm.js?2f62:620 commit @ vuex.esm.js?2f62:460 boundCommit @ vuex.esm.js?2f62:405 _callee$ @ index.js?9b91:75 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ m5Ha:38 _next @ m5Ha:40 eval @ m5Ha:40 eval @ m5Ha:40 setLoading @ index.js?9b91:74 wrappedActionHandler @ vuex.esm.js?2f62:847 dispatch @ vuex.esm.js?2f62:512 boundDispatch @ vuex.esm.js?2f62:402 _callee2$ @ beforeEach.js?92df:17 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ kt+k:6 _next @ kt+k:8 eval @ kt+k:8 eval @ kt+k:8 startLoading @ beforeEach.js?92df:16 iterator @ vue-router.esm.js?8c4f:2252 step @ vue-router.esm.js?8c4f:1898 eval @ vue-router.esm.js?8c4f:1899 eval @ vue-router.esm.js?8c4f:2274 _callee$ @ beforeEach.js?92df:12 tryCatch @ DesignBank.common.js?6161:16706 invoke @ DesignBank.common.js?6161:16935 prototype. @ DesignBank.common.js?6161:16758 asyncGeneratorStep @ kt+k:6 _next @ kt+k:8 eval @ kt+k:8 eval @ kt+k:8 maintenance @ beforeEach.js?92df:6 iterator @ vue-router.esm.js?8c4f:2252 step @ vue-router.esm.js?8c4f:1898 step @ vue-router.esm.js?8c4f:1902 runQueue @ vue-router.esm.js?8c4f:1906 confirmTransition @ vue-router.esm.js?8c4f:2282 transitionTo @ vue-router.esm.js?8c4f:2152 push @ vue-router.esm.js?8c4f:2519 push @ vue-router.esm.js?8c4f:2953 push @ router.js?a11d:27 handler @ vue-router.esm.js?8c4f:1102 invokeWithErrorHandling @ vue.common.dev.js?4650:1859 invoker @ vue.common.dev.js?4650:2184 original._wrapper @ vue.common.dev.js?4650:7543 Show 80 more frames sentry.js?ef25:41 An error occurred. Message: Uncaught TypeError: Cannot set property 'value' of undefined Source: webpack-internal:///Nvws Line: 1073 Column: 34
Expected behavior If
this.$refs.input
is available then only set the current value to it.Desktop