Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom asset field editor ux redesign #18577

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
drag full field
  • Loading branch information
cconard96 committed Jan 8, 2025
commit 63b3a36c13bf91a7d48a62741ca996c9d6adbe97
5 changes: 1 addition & 4 deletions js/src/vue/CustomObject/FieldPreview/Field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@
</script>

<template>
<div :class="`sortable-field align-items-center ${field_options.full_width ? 'col-12' : 'col-12 col-sm-6'}`"
<div :class="`sortable-field align-items-center ${field_options.full_width ? 'col-12' : 'col-12 col-sm-6'} cursor-grab`"
:data-key="field_key" :data-customfield-id="customfields_id">
<input type="hidden" name="fields_display[]" :value="field_key" :disabled="!is_active" />
<slot name="field_options"></slot>
<div :class="`form-field row flex-grow-1 m-1`">
<div class="col-auto align-content-center">
<i class="ti ti-grip-vertical sort-handle"></i>
</div>
<div class="col py-2">
<slot name="field_markers"></slot>
<slot name="field_label"></slot>
Expand Down