Use BaseForm instead of specialized Vue component for step 1 of the application form
Remove unnecessary event listener
This commit is contained in:
@@ -51,7 +51,6 @@ export default {
|
||||
},
|
||||
|
||||
mounted: function() {
|
||||
this.$root.$on('onEnvironmentAdded', this.addEnvironment)
|
||||
this.validate()
|
||||
},
|
||||
|
||||
|
@@ -1,23 +0,0 @@
|
||||
import FormMixin from '../../../mixins/form'
|
||||
import textinput from '../../text_input'
|
||||
import * as R from 'ramda'
|
||||
|
||||
export default {
|
||||
name: 'application-name-and-description',
|
||||
|
||||
mixins: [FormMixin],
|
||||
|
||||
components: {
|
||||
textinput,
|
||||
},
|
||||
created: function() {
|
||||
this.$root.$on('field-change', this.handleFieldChange)
|
||||
if (this.initialData) this.changed = true
|
||||
},
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
errors: [],
|
||||
}
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user