mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Change placeholder text for TimePicker to have ":" separator
This commit is contained in:
parent
66bd254042
commit
ab83560b4d
6 changed files with 10278 additions and 2026 deletions
|
@ -18,7 +18,7 @@
|
|||
export let type = "text";
|
||||
|
||||
/** Specify the input placeholder text */
|
||||
export let placeholder = "hh=mm";
|
||||
export let placeholder = "hh:mm";
|
||||
|
||||
/** Specify the `pattern` attribute for the input element */
|
||||
export let pattern = "(1[012]|[1-9]):[0-5][0-9](\\s)?";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue