Fix for grid arrow event handling when creating a column

This commit is contained in:
Dean 2024-05-23 17:44:23 +01:00
parent 28a1401793
commit 0db08498d9
2 changed files with 242 additions and 238 deletions

View File

@ -517,6 +517,7 @@
}) })
</script> </script>
<span class="create-edit-column">
<Layout noPadding gap="S"> <Layout noPadding gap="S">
{#if mounted} {#if mounted}
<Input <Input
@ -656,7 +657,8 @@
<div class="input-length"> <div class="input-length">
<Input <Input
type="number" type="number"
bind:value={editableColumn.constraints.numericality.lessThanOrEqualTo} bind:value={editableColumn.constraints.numericality
.lessThanOrEqualTo}
/> />
</div> </div>
</div> </div>
@ -769,6 +771,7 @@
{/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,6 +24,7 @@
".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