Merge pull request #38877 from sokumon/form-builder-ui

This commit is contained in:
Soham Kulkarni 2026-04-27 19:27:22 +05:30 committed by GitHub
commit 8f288a6a2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -233,18 +233,8 @@ onMounted(() => selected.value && label_input.value.focus_on_label());
<div v-html="frappe.utils.icon('filter', 'sm')" />
</button>
<AddFieldButton ref="add_field_ref" :column="column" :field="field">
<div v-html="frappe.utils.icon('add', 'sm')" />
<div v-html="frappe.utils.icon('plus', 'sm')" />
</AddFieldButton>
<button
v-if="column.fields.indexOf(field)"
class="btn btn-xs btn-icon"
:title="
__('Move the current field and the following fields to a new column')
"
@click="move_fields_to_column"
>
<div v-html="frappe.utils.icon('move', 'sm')" />
</button>
<button
class="btn btn-xs btn-icon"
:title="__('Duplicate field')"
@ -265,7 +255,7 @@ onMounted(() => selected.value && label_input.value.focus_on_label());
:title="__('Remove field')"
@click.stop="remove_field"
>
<div v-html="frappe.utils.icon('remove', 'sm')" />
<div v-html="frappe.utils.icon('x', 'sm')" />
</button>
</div>
</template>