-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Describe the bug
@astrouxds/angular@8.0.0 no longer supports ReactiveForms / implements ControlValueAccessors? ValueAccessor errors using formControlName e.g. <rux-input formControlName = ".." />
To Reproduce
- Install @astrouxds/angular@8.0.0 to Angular >= 20 project
- Import FormsModule, ReactiveFormsModule and RuxInput to a standalone component
- Add a FormGroup with a FormControl to component -
protected form: FormGroup = new FormGroup({test: new FormControl("", [])}); - Add RuxInput with relevant formControlName to component -
<rux-input formControlName="test" /> - Observe console errors
- Issue does not occur pre-8.0.0 update for Ang20 update - resolved by downgrading to @astrouxds/angular@7.25.0 and reverting the RuxInput import to the AstroComponentsModule
Current behavior
Controls do not integrate with reactive validation of associated FormControls, console errors for using formControlName on Astro rux-* components
Expected behavior
Controls integrate with reactive validation of associated FormControls via formControlName attribute, no console errors
Environment (please complete the following information):
- Chrome
- Angular version 20.3.15
- @astrouxds/angular 8.0.0 / 7.25.0
Additional context
We have already taken steps described in the Breaking Changes section here to manually import specific astro components.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels