- first name of author is only required, if name type is personal
This commit is contained in:
parent
28a38da865
commit
840bdffd2d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -36,7 +36,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input v-bind:name="heading+'['+index+'][first_name]'" class="form-control" placeholder="[FIRST NAME]"
|
<input v-bind:name="heading+'['+index+'][first_name]'" class="form-control" placeholder="[FIRST NAME]"
|
||||||
v-model="item.first_name" v-bind:readonly="item.status==1" v-validate="'required'"
|
v-model="item.first_name" v-bind:readonly="item.status==1" v-validate="item.name_type == 'Personal' ? 'required' : ''"
|
||||||
data-vv-scope="step-1" />
|
data-vv-scope="step-1" />
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user