Skip to content

Commit b515e44

Browse files
committed
fixed up the display of error messages
1 parent c8df865 commit b515e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/errorDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
computed: {
99
message(){
1010
let message = false;
11-
if ( !( this.field in this.form.$errors ) ) return message;
11+
if ( !( this.field in this.form.$errors ) || this.form[ this.field ].$active || !this.form[this.field].$dirty ) return message;
1212
let errors = this.form.$errors[ this.field ];
1313
Object.keys( errors ).some( errorKey => {
1414
if ( typeof errors[ errorKey ] != 'boolean' ){

0 commit comments

Comments
 (0)