diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php index 003ea44b9..a766ecd37 100755 --- a/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php @@ -5,15 +5,14 @@ class="control" id="{{ $attribute->code }}" - {{-- To Do (@devansh-webkul): Need to handle from the backend. --}} @if ($attribute->code === 'sku') v-validate="{ required: true, regex: /^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$/ }" @else v-validate="'{{ $validations }}'" @endif + data-vv-as=""{{ $attribute->admin_name }}"" - {{-- To Do (@devansh-webkul): Need to handle from the backend. --}} {{ in_array($attribute->code, ['url_key']) ? 'v-slugify' : '' }} {{ $attribute->code == 'name' && ! $product->url_key ? 'v-slugify-target=\'url_key\'' : '' }} >