Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix validation for nested properties #28

Merged
merged 2 commits into from Aug 2, 2020

Conversation

basz
Copy link
Contributor

@basz basz commented Jul 20, 2020

attempt to address #27 (comment)

@jelhan
Copy link
Collaborator

jelhan commented Jul 20, 2020

Does this fixes the issue for you? Can you add a test that is failing without but passing with these change?

@basz
Copy link
Contributor Author

basz commented Jul 20, 2020

No unfortunately not. A console.log shows it can get the correct error messages now, but the ui does not reflect an validation error.

@jelhan
Copy link
Collaborator

jelhan commented Jul 20, 2020

Do you have time to add a failing test? That would help a lot with debugging.

@basz
Copy link
Contributor Author

basz commented Aug 1, 2020

By further investigation, that fix does seem to remove my issue... So think it can be merged as is.

@jelhan
Copy link
Collaborator

jelhan commented Aug 1, 2020

Can you please add a test, which is failing before but passing with this test? This will help us to prevent regressions.

@basz
Copy link
Contributor Author

basz commented Aug 2, 2020

will this be sufficient?

@jelhan jelhan merged commit 8fecf13 into ember-bootstrap:master Aug 2, 2020
@jelhan jelhan changed the title use get for nested properties fix validation for nested properties Aug 2, 2020
@jelhan jelhan added the bug label Aug 2, 2020
@jelhan
Copy link
Collaborator

jelhan commented Aug 2, 2020

Looks good to me. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants