ReactJS | 6. Menambahkan input collection
6. Menambahkan input collection Menambahkan Control Baru Ke Input Collection Pada bagian ini akan membuat control input baru pada InputCollection Input Checkbox export const InputCheckbox = ( { label , control , name , required , rules , errors , } ) => { return < > < Controller control = { control } render = { ( { onChange , onBlur , value } ) => ( < div className = { "form-group " + ( required ? "required" : "" ) } > < label className = "col-md-3 control-label" > { label } < / label > < div className = "col-md-8" > < input type = "checkbox" onChange = { ( ) => { onChange ( value ? ! value : true ) } } checked ...