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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template driven ngForm doesn't have a value on radio inputs #30589

Open
milosdanilov opened this issue May 21, 2019 · 1 comment
Open

Template driven ngForm doesn't have a value on radio inputs #30589

milosdanilov opened this issue May 21, 2019 · 1 comment
Labels
area: forms forms: template-driven freq2: medium P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent state: confirmed type: bug/fix
Milestone

Comments

@milosdanilov
Copy link

milosdanilov commented May 21, 2019

馃悶 bug report

Affected Package

@angular/forms

Description

When using a conditional directive like ngIf on radio input, value on ngForm for that control will be empty. As well as the control itself on ngForm. This happens on Template driven forms.

馃敩 Minimal Reproduction

https://stackblitz.com/fork/angular-dssxnc

馃實 Your Environment

Angular Version:


Angular CLI: 7.0.5
Node: 10.14.1
OS: linux x64
Angular: 7.0.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.10.5
@angular-devkit/build-optimizer   0.10.5
@angular-devkit/core              7.0.5
@angular-devkit/schematics        7.0.5
@angular/cli                      7.0.5
@ngtools/webpack                  7.0.5
@schematics/angular               7.0.5
@schematics/update                0.10.5
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.25.1
@milosdanilov milosdanilov changed the title Template driven ngForm doesn' Template driven ngForm doesn't have a value on radio inputs May 21, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 21, 2019
@NechiK
Copy link

NechiK commented Jun 3, 2019

I'll take a look at it!

@ngbot ngbot bot modified the milestones: needsTriage, Backlog Jun 4, 2019
@jelbourn jelbourn added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed severity3: broken labels Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: forms forms: template-driven freq2: medium P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent state: confirmed type: bug/fix
Projects
None yet
Development

No branches or pull requests

6 participants