-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
One of my devs got an error today about an attribute property not existing on a validator object.
The error came from this line:
https://github.com/open-wc/form-participation/blob/main/packages/form-control/src/FormControlMixin.ts#L39
Which seems to be coded as if the attribute key in the validator object is required, but its typed as optional in the TS typing. IMO it should be optional, so should we do an existence check on the .attribute prop in that map function?
Metadata
Metadata
Assignees
Labels
No labels