Limenius / liform-react

Generate forms from JSON Schema to use with React (& redux-form)
https://limenius.github.io/liform-react/
MIT License
174 stars 40 forks source link

Getting [object Object] as text input value with simple array of strings #24

Closed nottoseethesun closed 7 years ago

nottoseethesun commented 7 years ago

I've followed the code through in the debugger, but cannot find a way to stop liform-react from displaying '[object Object]' as the html text input element value:

        "columns": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              },

The text input value simply needs to be the empty string. I have no custom code that does anything like push({}).

Any hints?

nacmartin commented 7 years ago

It should be fixed now. Thanks for reporting, @nottoseethesun