Skip to content

Conversation

simonihmig
Copy link
Contributor

This should unblock ember-bootstrap/ember-bootstrap#1775 (took me way to long to get back to this...)

Tested locally with yalc and that branch of ember-bootstrap.

Copy link
Collaborator

@jelhan jelhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for working on this one!


await m.validate();
if (!model.get('isValid')) {
throw new Error();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a meaningful error message? I know we haven't had one before. Just noticed when reviewing. So not required for this one to be merged.

@simonihmig simonihmig merged commit 2ebb518 into master Apr 28, 2022
@simonihmig simonihmig deleted the native-form-class branch April 29, 2022 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants