-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
feat(addon/components/paper-form): converts to a glimmer component. #1300
base: feature/glimmer-paper-grid-tile
Are you sure you want to change the base?
feat(addon/components/paper-form): converts to a glimmer component. #1300
Conversation
0befc5b
to
f8fb64e
Compare
ce53c9b
to
e1eda8e
Compare
@mansona have you come across this this type of error before? Seems to only rear its head on 3.24... I think this could be related to the
|
bfa6a27
to
0837a8c
Compare
e1eda8e
to
3409186
Compare
0837a8c
to
8dea1ea
Compare
3409186
to
d5cce06
Compare
8dea1ea
to
05d7c66
Compare
…o work with glimmer counterparts.
…ld components can migrate to consuming the parent to enable expected form validation/submission.
…ren documentation.
d5cce06
to
34f1129
Compare
Some tests with 'continue-on-error: true' have failed:
|
Some tests with 'continue-on-error: true' have failed:
Created by continue-on-error-comment |
Converts paper-form to a glimmer component.
Breaking Change
The
ChildMixin
makes a call to a deprecated internal/privateEmber.ViewMixin.nearestOfType
function to find the parent component (based on theParentMixin
) so that it can magically register the non-contextual component as a child.As such, the following test now fails, and I have marked as
skip
:To ease migration, we can
yield
the parent into the hash, in which case it would be up to users to inject the parent into any non-contexual components that accept a parent component as an argument (PaperItem, PaperInput, e.t.c).I have created a new test which is a copy of the old, but passes in the yielded parent, which uses this pattern and passes:
The troublesome mixin code:
Refer: https://api.emberjs.com/ember/5.12/classes/Ember.ViewMixin/methods/nearestOfType?anchor=nearestOfType&show=inherited,protected,private,deprecated