Skip to content

Problem in passing string value other than true false in input type checkbox in reactjs #2073

Description

@satyamraz

Suppose I pass these value in HTML checkbox
I have a bike

I have a car
And get value Car,Bike when user submit form with checked but in reactjs I get only true value when checked and false when not checked and these issue not mention in react documentation why? It's is important topic so kindly reply me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions