Skip to content

Commit 680b099

Browse files
Merge pull request #624 from jitendra-webkul/master
Issue #620 fixed
2 parents c8b4f21 + b6bf1ad commit 680b099

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/Webkul/Admin/src/Resources/views/common/custom-attributes/edit/email.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class="form-group input-group"
2121
:name="attribute['code'] + '[' + index + '][value]'"
2222
class="control"
2323
v-model="email['value']"
24-
v-validate="validations + '|unique_email'"
24+
v-validate="validations ? validations + '|unique_email' : 'unique_email'"
2525
:data-vv-as="attribute['name']"
2626
>
2727

packages/Webkul/Admin/src/Resources/views/common/custom-attributes/edit/phone.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class="form-group input-group"
2222
:name="attribute['code'] + '[' + index + '][value]'"
2323
class="control"
2424
v-model="contactNumber['value']"
25-
v-validate="validations + '|unique_contact_number'"
25+
v-validate="validations ? validations + '|unique_contact_number' : 'unique_contact_number'"
2626
:data-vv-as="attribute['name']"
2727
/>
2828

0 commit comments

Comments
 (0)