Merge pull request #3041 from mervekaraman/master
Error text does not disappear when option changes
This commit is contained in:
commit
cf41030916
@ -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;
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
||||
@if (! $hideItemDescription)
|
||||
<textarea
|
||||
class="w-full text-sm px-3 py-2.5 rounded-lg border border-light-gray text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple"
|
||||
style="height:42px;"
|
||||
style="height:42px; min-height:42px;"
|
||||
:ref="'items-' + index + '-description'"
|
||||
placeholder="{{ trans('items.enter_item_description') }}"
|
||||
:name="'items.' + index + '.description'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user