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

[BUG] Using the Select component with a form control, the component ignores the initial value #551

Open
2 tasks
silviu4444 opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@silviu4444
Copy link

Please provide the environment you discovered this bug in.

Angular v19
Node v22.11.00
@spartan-ng/cli 0.0.1-alpha.387

Which area/package is the issue in?

select

Description

The select component does not take into consideration the initial value of the form.
A workaround would be to set the form value in the ngAfterViewInit hook.

image

image

image

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@silviu4444 silviu4444 added the bug Something isn't working label Jan 10, 2025
@silviu4444 silviu4444 changed the title Using the Select component with a form control, the component ignores the initial value [BUG] Using the Select component with a form control, the component ignores the initial value Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant