{#if mounted} { if ( !uneditable && !(linkEditDisabled && editableColumn.type === FieldType.LINK) ) { editableColumn.name = e.target.value } }} disabled={uneditable || (linkEditDisabled && editableColumn.type === FieldType.LINK)} error={errors?.name} /> {/if} {:else if editableColumn.type === FieldType.OPTIONS} {:else if editableColumn.type === FieldType.LONGFORM}
{:else if editableColumn.type === FieldType.ARRAY} {:else if editableColumn.type === FieldType.DATETIME && !editableColumn.autocolumn}
{#if !editableColumn.timeOnly} {#if datasource?.source !== SourceName.ORACLE && datasource?.source !== SourceName.SQL_SERVER && !editableColumn.dateOnly}
{/if} {/if} {:else if editableColumn.type === FieldType.NUMBER && !editableColumn.autocolumn}
{:else if editableColumn.type === FieldType.LINK && !editableColumn.autocolumn} {:else if editableColumn.type === FieldType.FORMULA} {#if !externalTable}
option.name} getOptionValue={option => option.type} tooltip="Formulas by default will return a string - however if you need another type the response can be coerced." />
{ editableColumn = { ...editableColumn, formula: e.detail, } }} bindings={getBindings({ table })} allowJS context={rowGoldenSample} />
{:else if editableColumn.type === FieldType.AI} {:else if editableColumn.type === FieldType.JSON} {/if} {#if editableColumn.type === FieldType.AUTO || editableColumn.autocolumn} (editableColumn.default = e.detail)} placeholder="None" /> {:else if editableColumn.type === FieldType.ARRAY} (editableColumn.default = e.detail?.length ? e.detail : undefined)} placeholder="None" /> {:else if editableColumn.subtype === BBReferenceFieldSubType.USER} {@const defaultValue = editableColumn.type === FieldType.BB_REFERENCE_SINGLE ? SingleUserDefault : MultiUserDefault} (editableColumn.default = e.detail ? defaultValue : undefined)} /> {:else} (editableColumn.default = e.detail)} bindings={defaultValueBindings} allowJS /> {/if}
{#if !uneditable && originalName != null} {/if}
{ editableColumn.schema = detail.schema editableColumn.json = detail.json }} />

Are you sure you wish to delete the column (deleteColName = originalName)}>{originalName}? Your data will be deleted and this action cannot be undone - enter the column name to confirm.