Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted () {
if (this.autoFocus) {
this.$nextTick(function () {
timeoutID = setTimeout(() => {
// this is needed to prevent a re render issue with the parent component
this.focusSearchInput()
}, 100)
})
}
if (this.expandFilters) {
this.showFilters = true
}
RplFormEventBus.$on('clearform', this.clearSearch)
},
destroyed () {
clearForm (e) {
e.preventDefault()
RplFormEventBus.$emit('clearform')
}
}
clearForm (e) {
e.preventDefault()
RplFormEventBus.$emit('clearform')
}
}
mounted () {
RplFormEventBus.$on('loading', this.updateLoading)
},
methods: {