Skip to content

Application error when custom button does not set styleClass #172

Description

@bampakoa

When a custom button does not have the styleClass property set, the application throws the following error:

core.mjs:6469 ERROR Error: NgClass can only toggle CSS classes expressed as strings, got undefined

The styleClass is an optional property of the TButton interface so we can assume that the consumer of the library may or may not use the styleClass in their custom buttons. To reproduce the error, use the documentation example and comment out the styleClass property in the custom button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions