Skip to content

Enum: MessageBox.Icon.NONE being undefined causes Error #4273

Closed
@boghyon

Description

@boghyon

This is a sub-issue of #4201. Due to the MessageBox.Icon.NONE being undefined, which is not allowed according to the documented guideline shown in the parent issue, calling sap/ui/base/DataType.getType("sap.m.MessageBox.Icon") currently causes:

Uncaught (in promise) Error: Value undefined for enum type sap.m.MessageBox.Icon is not a string

/**
* Enumeration of the pre-defined icons that can be used in a MessageBox.
* @enum {string}
* @public
*/
MessageBox.Icon = {
/**
* Shows no icon in the message box.
* @public
*/
NONE: undefined,

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions