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
ui5-select gets "name" attribute, ui5-option gets "value" attribute
BREAKING CHANGE: the parameter of the change event is now called "selectedOption"; ui5-select enforces ui5-option as children in the metadata
@@ -198,7 +198,7 @@ class Button extends UI5Element {
198
198
onBeforeRendering(){
199
199
constFormSupport=getFeature("FormSupport");
200
200
if(this.submits&&!FormSupport){
201
-
console.warn(`In order for the "submits" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
201
+
console.warn(`In order for the "submits" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
* <b>Note:</b> When set, a native <code>input</code> HTML element
110
110
* will be created inside the <code>ui5-checkbox</code> so that it can be submitted as
@@ -214,7 +214,7 @@ class CheckBox extends UI5Element {
214
214
nativeInput.value=element.checked ? "on" : "";
215
215
});
216
216
}elseif(this.name){
217
-
console.warn(`In order for the "name" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
217
+
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
* <b>Note:</b> When set, a native <code>input</code> HTML element
128
128
* will be created inside the <code>ui5-datepicker</code> so that it can be submitted as
@@ -313,7 +313,7 @@ class DatePicker extends UI5Element {
313
313
if(FormSupport){
314
314
FormSupport.syncNativeHiddenInput(this);
315
315
}elseif(this.name){
316
-
console.warn(`In order for the "name" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
316
+
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
* <b>Note:</b> When set, a native <code>input</code> HTML element
165
165
* will be created inside the <code>ui5-input</code> so that it can be submitted as
@@ -329,7 +329,7 @@ class Input extends UI5Element {
329
329
if(FormSupport){
330
330
FormSupport.syncNativeHiddenInput(this);
331
331
}elseif(this.name){
332
-
console.warn(`In order for the "name" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
332
+
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
console.warn(`In order for the "value" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
266
+
console.warn(`In order for the "value" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
254
+
}
255
+
}
256
+
223
257
_keydown(event){
224
258
if(isShow(event)){
225
259
this._togglePopover();
@@ -285,7 +319,7 @@ class Select extends UI5Element {
* <b>Note:</b> When set, a native <code>input</code> HTML element
148
148
* will be created inside the <code>ui5-textarea</code> so that it can be submitted as
@@ -256,7 +256,7 @@ class TextArea extends UI5Element {
256
256
if(FormSupport){
257
257
FormSupport.syncNativeHiddenInput(this);
258
258
}elseif(this.name){
259
-
console.warn(`In order for the "name" property to have effect, you should also: import InputElementsFormSupport from "@ui5/webcomponents/dist/InputElementsFormSupport";`);// eslint-disable-line
259
+
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/InputElementsFormSupport.js";`);// eslint-disable-line
0 commit comments