You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ui5-timepicker): fix JS Error, improve user XP and sample (#1362)
- when imported standalone, JS error is thrown - Gregorian calendar was missing.
- allow user to set empty value or removing the current time with "BACKSPACE", instead of always setting the current time.
- placeholder exists in the code, but never forwarded to the Input and not documented as part of the public API
- show time format as placeholder, when no value
- fix code snippets alignment in playground
FIXES: #1357
* Defines a short hint, intended to aid the user with data entry when the
60
+
* <code>ui5-timepicker</code> has no value.
61
+
*
62
+
* <b>Note:</b> When no placeholder is set, the format pattern is displayed as a placeholder.
63
+
* Passing an empty string as the value of this property will make the <code>ui5-timepicker</code> appear empty - without placeholder or format pattern.
64
+
*
65
+
* @type {string}
66
+
* @defaultvalue undefined
67
+
* @public
68
+
*/
69
+
placeholder: {
70
+
type: String,
71
+
defaultValue: undefined,
72
+
},
73
+
57
74
/**
58
75
* Determines the format, displayed in the input field.
0 commit comments