mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
Change placeholder text to have ":" separator
This commit is contained in:
parent
4e4234f83d
commit
9e82956e97
1 changed files with 1 additions and 1 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