Merge pull request #3041 from mervekaraman/master

Error text does not disappear when option changes
This commit is contained in:
Cüneyt Şentürk 2023-08-31 09:15:45 +03:00 committed by GitHub
commit cf41030916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -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;
}

View File

@ -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'"