Skip to content

Commit 1166fb4

Browse files
authored
fix(ui5-input): change public method to private (#3224)
Change public method to private. Related to #3107 BREAKING CHANGE: the isOpen method that used to return if the value state popover is open or closed has been removed.
1 parent a8eb730 commit 1166fb4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/main/src/Input.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -798,10 +798,9 @@ class Input extends UI5Element {
798798

799799
/**
800800
* Checks if the value state popover is open.
801-
* @returns {boolean} true if the popover is open, false otherwise
802-
* @public
801+
* @returns {boolean} true if the value state popover is open, false otherwise
803802
*/
804-
isOpen() {
803+
isValueStateOpened() {
805804
return !!this._isPopoverOpen;
806805
}
807806

@@ -1129,7 +1128,7 @@ class Input extends UI5Element {
11291128
return {
11301129
popoverValueState: {
11311130
"ui5-valuestatemessage-root": true,
1132-
"ui5-responsive-popover-header": !this.isOpen(),
1131+
"ui5-responsive-popover-header": !this.isValueStateOpened(),
11331132
"ui5-valuestatemessage--success": this.valueState === ValueState.Success,
11341133
"ui5-valuestatemessage--error": this.valueState === ValueState.Error,
11351134
"ui5-valuestatemessage--warning": this.valueState === ValueState.Warning,

0 commit comments

Comments
 (0)