Changes done

This commit is contained in:
Abhishek Kathuria 2022-07-19 15:45:40 +05:30
parent 4306ea45a6
commit d8d57263e2
1 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,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[$attribute->code] ? 'v-slugify-target=\'url_key\'' : '' }}>
{{ $attribute->code == 'name' && ! $product[$attribute->code] ? 'v-slugify-target=\'url_key\'' : '' }}
>