Skip to content

Commit

Permalink
[xprototype#4/fix] Add delay to set error to field description
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcorrea committed Apr 1, 2019
1 parent 80b601d commit 83e5ef0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default {
storage: {},
errors: {},
status: {
description: ['Houston, we have a problem']
description: []
},
activeHidden: false,
descriptionLabel: '',
Expand Down Expand Up @@ -224,6 +224,10 @@ export default {
/**
*/
created () {
this.hook('fetch:record', function () {
window.setTimeout(() => { this.status.description = ['Houston, we have a problem'] }, 500)
})
this.descriptionLabel = this.$t('example.textWithTemplateForm.fields.description')
},
/**
Expand Down

0 comments on commit 83e5ef0

Please sign in to comment.