svelte-auto-form icon indicating copy to clipboard operation
svelte-auto-form copied to clipboard

Default value/Placeholder not working

Open TylerThompson opened this issue 2 years ago • 0 comments

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}" />

TylerThompson avatar Nov 08 '22 05:11 TylerThompson