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

Include copy of Angular RadioControlValueAccessor and dependencies #790

Merged
merged 10 commits into from
Oct 25, 2022

Conversation

m-akinc
Copy link
Contributor

@m-akinc m-akinc commented Oct 19, 2022

Pull Request

🤨 Rationale

Fixes #782

👩‍💻 Implementation

Copied several types from the Angular source base into the Nimble repo, including:

  • RadioControlValueAccessor
  • RadioControlRegistry
  • BaseControlValueAccessor

We're pulling in version 14.2.6 since we will soon be upgrading Nimble's version of Angular. To make it work with version 12 in the meantime, I made one small change to an error reporting function to throw an Error rather than a RuntimeError. Throwing an Error is what it did in version 12.

🧪 Testing

Unit tests still pass

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@m-akinc m-akinc requested a review from rajsite October 19, 2022 16:51
Copy link
Member

@rajsite rajsite left a comment

Choose a reason for hiding this comment

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

Discussed some more changes for providing upgrade instructions for the forked files

@m-akinc m-akinc requested a review from rajsite October 19, 2022 18:28
m-akinc and others added 2 commits October 20, 2022 12:02
…rectives/radio_control_value_accessor.ts

Co-authored-by: Milan Raj <rajsite@users.noreply.github.com>
@m-akinc m-akinc requested a review from rajsite October 20, 2022 18:17
@rajsite rajsite merged commit be60be5 into main Oct 25, 2022
@rajsite rajsite deleted the users/makinc/radio-cva branch October 25, 2022 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angular no longer exports RadioControlRegistry (ɵangular_packages_forms_forms_r)
3 participants