Change placeholder text for TimePicker to have ":" separator (#523)

* Change placeholder text for TimePicker to have ":" separator

* Revert "Change placeholder text for TimePicker to have ":" separator"

This reverts commit ab83560b4d.

* Change placeholder text for TimePicker to have ":" separator
This commit is contained in:
Reed Shea 2021-02-15 12:53:04 -05:00 committed by GitHub
commit 7459fdb08b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -3852,7 +3852,7 @@ None.
| value | <code>let</code> | Yes | <code>string</code> | <code>""</code> | Specify the input value |
| size | <code>let</code> | No | <code>"sm" &#124; "xl"</code> | -- | Specify the size of the input |
| type | <code>let</code> | No | <code>string</code> | <code>"text"</code> | Specify the input type |
| placeholder | <code>let</code> | No | <code>string</code> | <code>"hh=mm"</code> | Specify the input placeholder text |
| placeholder | <code>let</code> | No | <code>string</code> | <code>"hh:mm"</code> | Specify the input placeholder text |
| pattern | <code>let</code> | No | <code>string</code> | <code>"(1[012]&#124;[1-9]):[0-5][0-9](\\s)?"</code> | Specify the `pattern` attribute for the input element |
| maxlength | <code>let</code> | No | <code>number</code> | <code>5</code> | Specify the `maxlength` input attribute |
| light | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the light variant |

View file

@ -9562,7 +9562,7 @@
"kind": "let",
"description": "Specify the input placeholder text",
"type": "string",
"value": "\"hh=mm\"",
"value": "\"hh:mm\"",
"isFunction": false,
"constant": false,
"reactive": false

View file

@ -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)?";

View file

@ -22,7 +22,7 @@ export interface TimePickerProps
/**
* Specify the input placeholder text
* @default "hh=mm"
* @default "hh:mm"
*/
placeholder?: string;