Update field_settings.vue

pull/402/head
Vincent Barrier 10 months ago committed by GitHub
parent 6e66ec481b
commit e0a1199e46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -257,6 +257,20 @@
<span class="label-text">{{ t('with_logo') }}</span>
</label>
</li>
<li
v-if="field.type == 'image'"
@click.stop
>
<label class="cursor-pointer py-1.5">
<input
:checked="field.preferences?.only_with_camera != false"
type="checkbox"
class="toggle toggle-xs"
@change="[field.preferences ||= {}, field.preferences.only_with_camera = field.preferences.only_with_camera == true, save()]"
>
<span class="label-text">{{ t('only_with_camera') }}</span>
</label>
</li>
<li
v-if="field.type == 'checkbox'"
@click.stop

Loading…
Cancel
Save