Removed fix for grid keyboard events

This commit is contained in:
Dean 2024-05-23 18:06:08 +01:00
parent 9edc0b7c3c
commit 5a289bd027
2 changed files with 236 additions and 240 deletions

View File

@ -517,8 +517,7 @@
}) })
</script> </script>
<span class="create-edit-column"> <Layout noPadding gap="S">
<Layout noPadding gap="S">
{#if mounted} {#if mounted}
<Input <Input
value={editableColumn.name} value={editableColumn.name}
@ -657,8 +656,7 @@
<div class="input-length"> <div class="input-length">
<Input <Input
type="number" type="number"
bind:value={editableColumn.constraints.numericality bind:value={editableColumn.constraints.numericality.lessThanOrEqualTo}
.lessThanOrEqualTo}
/> />
</div> </div>
</div> </div>
@ -749,9 +747,9 @@
{/if} {/if}
</div> </div>
{/if} {/if}
</Layout> </Layout>
<div class="action-buttons"> <div class="action-buttons">
{#if !uneditable && originalName != null} {#if !uneditable && originalName != null}
<Button quiet warning text on:click={confirmDelete}>Delete</Button> <Button quiet warning text on:click={confirmDelete}>Delete</Button>
{/if} {/if}
@ -770,8 +768,7 @@
Save Save
{/if} {/if}
</Button> </Button>
</div> </div>
</span>
<Modal bind:this={jsonSchemaModal}> <Modal bind:this={jsonSchemaModal}>
<JSONSchemaModal <JSONSchemaModal
schema={editableColumn.schema} schema={editableColumn.schema}

View File

@ -24,7 +24,6 @@
".date-time-popover", ".date-time-popover",
"#builder-side-panel-container", "#builder-side-panel-container",
"[data-grid-ignore]", "[data-grid-ignore]",
".create-edit-column",
] ]
// Global key listener which intercepts all key events // Global key listener which intercepts all key events