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

CHECKBOX: does not bind to values in Angular #140

Open
bdahl1 opened this issue Apr 1, 2022 · 3 comments
Open

CHECKBOX: does not bind to values in Angular #140

bdahl1 opened this issue Apr 1, 2022 · 3 comments

Comments

@bdahl1
Copy link

bdahl1 commented Apr 1, 2022

Describe the bug

When using Angular value and ngModel do not properly interact with Angular's data binding.

To Reproduce

Steps to reproduce the behavior:

  1. Set up a vanilla checkbox (or grab my angular demo branch)
  2. Bind to the value of the checkbox with [value]= or [(ngModel)] or as a member of a form group
  3. Output that value somewhere (console, emitted onto page, whatever)
  4. Toggle the checkbox

Expected behavior

The value in the code behind should be bound to the state of the checkbox. It is not.

Screenshots

image

  1. Value bindings in the upper bit are not reflected below. I can check and uncheck, nothing happens
  2. In the "No Form Group" section all four checkboxes are bound to the same value so they should all have the same state

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 100.0.4896.60 (Official Build) (64-bit)
@bdahl1 bdahl1 added the Type: Bug Bug or Bug fixes label Apr 1, 2022
@blackfalcon
Copy link
Member

This again [radio button] is very specific to the inner workings of Angular and I need help understanding Angular's expectations.

@blackfalcon blackfalcon added the not-reviewed Issue has not been reviewed by Auro team members label Apr 5, 2022
@braven112 braven112 removed the not-reviewed Issue has not been reviewed by Auro team members label May 10, 2022
@blackfalcon blackfalcon added the help wanted Extra attention is needed, this user requires assistance to complete the work label Jun 20, 2022
@blackfalcon blackfalcon removed their assignment Jun 20, 2022
@blackfalcon
Copy link
Member

blackfalcon commented Jan 21, 2023

@bdahl1 have there been new learnings that will negate this issue, or is this still an issue we need to address?

@jason-capsule42 jason-capsule42 removed Type: Bug Bug or Bug fixes help wanted Extra attention is needed, this user requires assistance to complete the work labels Oct 3, 2024
@jason-capsule42
Copy link
Member

Please reach out to @jason-capsule42 if you have any further questions.

@jason-capsule42 jason-capsule42 changed the title auro-checkbox: does not bind to values in Angular CHECKBOX: does not bind to values in Angular Dec 24, 2024
@jason-capsule42 jason-capsule42 transferred this issue from AlaskaAirlines/auro-checkbox Dec 24, 2024
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

No branches or pull requests

7 participants