Change placeholder text to have ":" separator

This commit is contained in:
Reed Shea 2021-02-06 14:12:33 -05:00 committed by GitHub
commit 9e82956e97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
export let type = "text"; export let type = "text";
/** Specify the input placeholder text */ /** Specify the input placeholder text */
export let placeholder = "hh=mm"; export let placeholder = "hh:mm";
/** Specify the `pattern` attribute for the input element */ /** Specify the `pattern` attribute for the input element */
export let pattern = "(1[012]|[1-9]):[0-5][0-9](\\s)?"; export let pattern = "(1[012]|[1-9]):[0-5][0-9](\\s)?";