Error text does not disappear when option changes
This commit is contained in:
parent
a5c8524d4a
commit
f554d3cc64
@ -352,16 +352,23 @@ export default {
|
|||||||
this.$emit('limit', 'count');
|
this.$emit('limit', 'count');
|
||||||
this.$emit('limit_count', this.limitCount);
|
this.$emit('limit_count', this.limitCount);
|
||||||
this.$emit('limit_date', null);
|
this.$emit('limit_date', null);
|
||||||
|
|
||||||
|
this.limitDateError = '';
|
||||||
break;
|
break;
|
||||||
case 'on':
|
case 'on':
|
||||||
this.$emit('limit', 'date');
|
this.$emit('limit', 'date');
|
||||||
this.$emit('limit_date', this.limitDate);
|
this.$emit('limit_date', this.limitDate);
|
||||||
this.$emit('limit_count', 0);
|
this.$emit('limit_count', 0);
|
||||||
|
|
||||||
|
this.limitCountError = '';
|
||||||
break;
|
break;
|
||||||
case 'never':
|
case 'never':
|
||||||
default:
|
default:
|
||||||
this.$emit('limit', 'count');
|
this.$emit('limit', 'count');
|
||||||
this.$emit('limit_count', 0);
|
this.$emit('limit_count', 0);
|
||||||
|
|
||||||
|
this.limitCountError = '';
|
||||||
|
this.limitDateError = '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user