Skip to content

Commit

Permalink
Error text does not disappear when option changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mervekaraman committed Aug 29, 2023
1 parent a5c8524 commit f554d3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/assets/js/components/AkauntingRecurring.vue
Expand Up @@ -352,16 +352,23 @@ export default {
this.$emit('limit', 'count');
this.$emit('limit_count', this.limitCount);
this.$emit('limit_date', null);
this.limitDateError = '';
break;
case 'on':
this.$emit('limit', 'date');
this.$emit('limit_date', this.limitDate);
this.$emit('limit_count', 0);
this.limitCountError = '';
break;
case 'never':
default:
this.$emit('limit', 'count');
this.$emit('limit_count', 0);
this.limitCountError = '';
this.limitDateError = '';
break;
}
Expand Down

0 comments on commit f554d3c

Please sign in to comment.