This commit is contained in:
Huakun Shen 2025-03-01 10:17:45 -05:00
parent 0da5ef3bcd
commit 9ab95e28c6
No known key found for this signature in database

View File

@ -59,7 +59,12 @@
{#snippet children({ props })} {#snippet children({ props })}
<Form.Label>{m.settings_app_search_paths_table_col_search_path()}</Form.Label> <Form.Label>{m.settings_app_search_paths_table_col_search_path()}</Form.Label>
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<Input {...props} disabled bind:value={$formData.path} placeholder={m.settings_app_search_paths_table_col_search_path()} /> <Input
{...props}
disabled
bind:value={$formData.path}
placeholder={m.settings_app_search_paths_table_col_search_path()}
/>
<Form.Button class="my-1" onclick={pickSearchPath}>Pick</Form.Button> <Form.Button class="my-1" onclick={pickSearchPath}>Pick</Form.Button>
</div> </div>
{/snippet} {/snippet}
@ -70,7 +75,12 @@
<Form.Control> <Form.Control>
{#snippet children({ props })} {#snippet children({ props })}
<Form.Label>{m.settings_app_search_paths_table_col_depth()}</Form.Label> <Form.Label>{m.settings_app_search_paths_table_col_depth()}</Form.Label>
<Input {...props} type="number" bind:value={$formData.depth} placeholder={m.settings_app_search_paths_table_col_depth()} /> <Input
{...props}
type="number"
bind:value={$formData.depth}
placeholder={m.settings_app_search_paths_table_col_depth()}
/>
{/snippet} {/snippet}
</Form.Control> </Form.Control>
<Form.FieldErrors /> <Form.FieldErrors />