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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -