I just published an update. I missed the fact that checkboxes are a little different from regular text inputs/areas.
Now props.handleChange function can be passed to onChange event of a checkbox field. props.getState('checkbox_name') can be passed to checked property of the same field. About file inputs, I need to do more research. However, props.setState('key', 'value') method for updating state can be a workaround for now.
Very nice but is it working with checkbox and files?
I just published an update. I missed the fact that checkboxes are a little different from regular text inputs/areas.
Now
props.handleChange
function can be passed toonChange
event of a checkbox field.props.getState('checkbox_name')
can be passed tochecked
property of the same field. About file inputs, I need to do more research. However,props.setState('key', 'value')
method for updating state can be a workaround for now.@Samet Mutevelli please can you provide a example of using radio button or check button