brainfoolong / form-data-json

A zero dependency, cross browser library to easily get or set/manipulate form input values as/from a json object.
https://brainfoolong.github.io/form-data-json
MIT License
57 stars 10 forks source link

radio element value 0 #30

Closed daralx closed 1 year ago

daralx commented 2 years ago

Hi

First of all thanks for plugin

I am not filling radio element if its value is 0. () if I convert to string or bigger then 0 it is ok.
ex : { opened : 0 } not running

brainfoolong commented 2 years ago

Hi, i need an example code to reproduce where you see the problem, Html with the form and javascript part.