Merge pull request #17 from CareerPlug/CP-10759

CP-10759 - Exclude unused fields in dropdown edit
pull/544/head
Bernardo Anderson 4 months ago committed by GitHub
commit 93348d4a20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -290,7 +290,7 @@
</label> </label>
</div> </div>
<li <li
v-if="withRequired && field.type !== 'phone' && field.type !== 'stamp' && field.type !== 'verification'" v-if="withRequired && field.type !== 'phone' && field.type !== 'stamp' && field.type !== 'verification' && field.type !== 'cells'"
@click.stop @click.stop
> >
<label class="cursor-pointer py-1.5"> <label class="cursor-pointer py-1.5">

@ -30,7 +30,7 @@
v-for="(icon, type) in fieldIconsSorted" v-for="(icon, type) in fieldIconsSorted"
:key="type" :key="type"
> >
<li v-if="fieldTypes.includes(type) || ((withPhone || type != 'phone') && (withPayment || type != 'payment') && (withVerification || type != 'verification'))"> <li v-if="['text', 'signature', 'initials', 'date', 'checkbox', 'multiple', 'radio', 'select'].includes(type)">
<a <a
href="#" href="#"
class="text-sm py-1 px-2" class="text-sm py-1 px-2"

Loading…
Cancel
Save