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
Copy file name to clipboardExpand all lines: packages/main/src/DatePicker.js
+5-2
Original file line number
Diff line number
Diff line change
@@ -112,12 +112,15 @@ const metadata = {
112
112
* <code>ui5-datepicker</code> has no value.
113
113
*
114
114
* <b>Note:</b> When no placeholder is set, the format pattern is displayed as a placeholder.
115
+
* Passing an empty string as the value of this property will make the <code>ui5-datepicker</code> appear empty - without placeholder or format pattern.
116
+
*
115
117
* @type {string}
116
-
* @defaultvalue""
118
+
* @defaultvalueundefined
117
119
* @public
118
120
*/
119
121
placeholder: {
120
122
type: String,
123
+
defaultValue: undefined,
121
124
},
122
125
123
126
/**
@@ -391,7 +394,7 @@ class DatePicker extends UI5Element {
0 commit comments