filter lang

This commit is contained in:
merdan 2022-09-27 15:01:11 +05:00
parent 30dd6c109c
commit 6e04f05e2f
3 changed files with 5 additions and 4 deletions

View File

@ -200,7 +200,8 @@ return [
'brand-search-hint' => 'Brand search hint',
'no-result-found' => 'No result found',
'searching' => 'Searching',
'sources' => 'Sources (Vendors)'
'sources' => 'Sources (Vendors)',
'filter' => 'Filter',
],
]
];

View File

@ -39,8 +39,8 @@
<span class="control-error" v-if="errors.has('name')">@{{ errors.first('name') }}</span>
</div>
<div class="control-group" :class="[errors.has('filter') ? 'has-error' : '']">
<label for="name" class="required">{{ __('sarga::app.catalog.menus.filter') }}</label>
<input type="text" v-validate="'required'" class="control" id="filter" name="filter" value="{{ old('filter') }}"
<label for="name" class="control">{{ __('sarga::app.catalog.menus.filter') }}</label>
<input type="text" class="control" id="filter" name="filter" value="{{ old('filter') }}"
data-vv-as="&quot;{{ __('sarga::app.catalog.menus.filter') }}&quot;" />
<span class="control-error" v-if="errors.has('filter')">@{{ errors.first('filter') }}</span>
</div>

View File

@ -68,7 +68,7 @@
<span class="control-error" v-if="errors.has('{{$locale}}[name]')">@{{ errors.first('{!!$locale!!}[name]') }}</span>
</div>
<div class="control-group" :class="[errors.has('filter') ? 'has-error' : '']">
<label for="name" class="required">{{ __('sarga::app.catalog.menus.filter') }}</label>
<label for="name" class="control">{{ __('sarga::app.catalog.menus.filter') }}</label>
<input type="text" class="control" id="filter" name="filter" value="{{ old('filter',$menu->filter) }}"
data-vv-as="&quot;{{ __('sarga::app.catalog.menus.filter') }}&quot;" />
<span class="control-error" v-if="errors.has('filter')">@{{ errors.first('filter') }}</span>