Skip to content

No ReactiveForm support in astrouxds/angular@8.0.0? #1455

@drewcpage

Description

@drewcpage

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

  1. Install @astrouxds/angular@8.0.0 to Angular >= 20 project
  2. Import FormsModule, ReactiveFormsModule and RuxInput to a standalone component
  3. Add a FormGroup with a FormControl to component - protected form: FormGroup = new FormGroup({test: new FormControl("", [])});
  4. Add RuxInput with relevant formControlName to component - <rux-input formControlName="test" />
  5. Observe console errors
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions