{#if editor_state} {#if potential_presentations?.length > 0}
{/if} {#if ["Dropdown", "Numeric", "Text", "Uuid"].includes(current_presentation.t)} { handle_textinput_input(currentTarget.value); update_dropdown_filter(); }} class="datum-editor__text-input" type="text" /> {:else if current_presentation.t === "Timestamp"}
{ if (!editor_state) { console.warn("date input oninput() preconditions not met"); return; } editor_state.date_value = currentTarget.value; editor_state.is_null = false; handle_input(); }} value={editor_state.date_value} type="date" /> { if (!editor_state) { console.warn("time input oninput() preconditions not met"); return; } editor_state.time_value = currentTarget.value; editor_state.is_null = false; handle_input(); }} value={editor_state.time_value} step="1" type="time" />
{/if}
{#if current_presentation.t === "Dropdown"} {#each filtered_dropdown_options as dropdown_option}
  • {/each}
    {/if}
    {/if}