fix(ui): date input placeholders show format TT.MM.JJJJ instead of label
Remove custom placeholder props so DateInput falls back to its default format hint (TT.MM.JJJJ / DD.MM.YYYY / DD.MM.AAAA) instead of repeating the label text above. Refs: #179 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,6 @@ let { fromDate = $bindable(''), toDate = $bindable(''), onapplyFilters }: Props
|
||||
id="conv-from"
|
||||
bind:value={fromDate}
|
||||
onchange={() => onapplyFilters()}
|
||||
placeholder={m.conv_strip_from_placeholder()}
|
||||
class="block w-full rounded-md border border-line bg-surface px-3 py-2.5 text-sm text-ink shadow-sm placeholder:text-ink-3 focus:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring"
|
||||
/>
|
||||
</div>
|
||||
@@ -43,7 +42,6 @@ let { fromDate = $bindable(''), toDate = $bindable(''), onapplyFilters }: Props
|
||||
id="conv-to"
|
||||
bind:value={toDate}
|
||||
onchange={() => onapplyFilters()}
|
||||
placeholder={m.conv_strip_to_placeholder()}
|
||||
class="block w-full rounded-md border border-line bg-surface px-3 py-2.5 text-sm text-ink shadow-sm placeholder:text-ink-3 focus:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user