Angular 2 Reactive Forms RadioButton for CheckBox for a FormArray -
i using dynamic forms form fields being added formarray on button click this.
this._formbuilder.group({ name: [propertyname, [validators.required]], datatype: [datatype, validators.required], dateformat: [dateformat], isprimary: [false] });
i want 1 isprimary true in array. how achieve either using radio buttons or checkboxes.
please help.
Comments
Post a Comment