svelte-auto-form
svelte-auto-form copied to clipboard
Default value/Placeholder not working
While checking out the demo, I noticed that the default value and/or placeholder is never set. I attempted to expand on this to verify that it works but it seems that the value and/or placeholder tags are never properly getting set (unless I'm doing something wrong). I checked out the code and it seems like it should work.
let seriesInput = [ { id:"testme", style:"color: red;", type: 'text', name: 'firstName', placeholder: 'test', valueProperty: 'test', name: 'test', label: 'test', value: 'test' }, ]
<AutoForm input="{seriesInput}" />