category default limit

This commit is contained in:
merdan 2022-03-09 15:45:53 +05:00
parent ff6d4a0a84
commit 6328d86253
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
</div>
<div class="control-group" :class="[errors.has('product_limit') ? 'has-error' : '']">
<label for="product_limit" class="required">Products limit(kg)</label>
<label for="product_limit" class="required">Products limit</label>
<input type="text" v-validate="'required|numeric'" class="control" id="product_limit" name="product_limit" value="{{ old('product_limit',500)}}" data-vv-as="&quot;Products limit&quot;"/>
<span class="control-error" v-if="errors.has('product_limit')">@{{ errors.first('product_limit') }}</span>
</div>

View File

@ -22,7 +22,7 @@
</div>
<div class="control-group" :class="[errors.has('product_limit') ? 'has-error' : '']">
<label for="product_limit" class="required">Products limit(kg)</label>
<label for="product_limit" class="required">Products limit</label>
<input type="text" v-validate="'required|numeric'" class="control" id="product_limit" name="product_limit"
value="{{ old('product_limit',$category->product_limit)}}" data-vv-as="&quot;Products limit&quot;"/>
<span class="control-error" v-if="errors.has('product_limit')">@{{ errors.first('product_limit') }}</span>