-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update to Glint 1.0.0-beta.3 #57
Conversation
|
Preview URLsEnv: preview |
1fa61de
to
5c51e1f
Compare
@@ -154,8 +149,7 @@ class FieldData< | |||
export default class HeadlessFormComponent< | |||
DATA extends UserData | |||
> extends Component<HeadlessFormComponentSignature<DATA>> { | |||
FieldComponent: ComponentLike<HeadlessFormFieldComponentSignature<DATA>> = | |||
FieldComponent; | |||
FieldComponent = FieldComponent<DATA>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
TextareaComponent; | ||
RadioComponent: ComponentLike<HeadlessFormControlRadioComponentSignature> = | ||
RadioComponent; | ||
LabelComponent = LabelComponent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So much simpler now!
Working on the docs uncovered more weird pnpm (peer) dependency issues, that I was able to fix by upgrading Glint to the latest beta. Also applies some fixes and removes previous workarounds related to typed-ember/glint#518.