Reputation: 85
Im using react bootstrap to create a form on my app. I used the boilerplate to create checkbox inputs, but for some reason, its working as a text input instead of a checkbox.
I have no idea why this is happening. Theres no error on the console.
I already imported the bootstrap css styles to the project too, so its not that.
Can somebody help?
Upvotes: 0
Views: 890
Reputation: 85
I figured it out.
Its type="checkbox"
instead of type="check"
.
Cant believe i spent almost 2 hours trying to fix this.
Upvotes: 2