After adding [(ngModel)] to a radio button group, the default [checked] no longer works

前端 未结 3 643
渐次进展
渐次进展 2020-12-05 07:16

I\'m working on a small reusable Component which styles radio buttons and emits the selected values.

import { Component, OnInit, Input, Output, EventEmitter          


        
3条回答
  •  天涯浪人
    2020-12-05 07:36

    export class ConfirmationmodalComponent implements OnInit {
      client_notification: any = false;
      candidate_notification: any = false;
      cancel_associated_session: any = false;
    
      constructor(
      ) {}
    
      ngOnInit(): void {
      }
    }

提交回复
热议问题