Question: Angular 2 form validation is not working, I can not find where I did mistake. Please help me how to resolve this issue.

<https://stackblitz.com/edit/angular-6-reactive-form-validation-jb2snp?file=app/app.component.ts>

app.component.ts:

```
      this.registerForm = this.formBuilder.group({
        userType: ['', Validators.required],
        modalType: ['', Validators.required],
        place: ['', Validators.required], 
        onebhk: ['', Validators.required],
        twobhk: ['', Validators.required],
        min: ['', [Validators.required, Validators.minLength(3)]],
        max: ['', [Validators.required, Validators.minLength(6)]]
    });

```

Answer: 
problem in your html, for radio button you have to you formControlName and name should be same

like this,

```
<div class="col-md-4">
      <label>
          <input type="radio" formControlName="onebhk" name="onebhk" value="yes" /> 1 BHK
       </label>
       <label>
          <input type="radio" formControlName="twobhk" name="twobhk" value="no" /> 2 BHK
        </label>
  </div>

```
remove `name` attribure fom this control `name="onebhk"` and `name="twobhk"`

```
<div class="col-md-4">
      <label>
          <input type="radio" formControlName="onebhk" value="yes" /> 1 BHK
      </label>
      <label>
          <input type="radio" formControlName="twobhk" value="no" /> 2 BHK
      </label>
</div>

```