Skip to content

Define invalid message object #1614

@samends

Description

@samends

Enhancement

Currently the interface for an invalid message object is neither defined nor exported. The invalid message object is part of the definition of Validity found at https://github.com/dojo/widgets/blob/master/src/form/middleware.ts#L4 however, more times than not, projects have to write their own interfaces for { valid: boolean, message: string }. Perhaps we could define and export a new interface for this with the name InvalidMessage

Package Version: 7.0.3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions