DubFriend / jquery.repeater

Create a repeatable group of input elements
MIT License
389 stars 191 forks source link

hello default value not set (input, select ...) ?? #99

Open foxmedo opened 5 years ago

foxmedo commented 5 years ago

Dear All,

i have a problem with the default value for exemple

<input name"xxxx" value="0" >

the input repeated doesn't contain a value if we check the source we can see value="0"

same problem with select options if i have default value selected and the repeated iteam doesn't select the default value ?

any one has a solution for this point.

foxmedo commented 5 years ago

is this plugins still supported or i have to find something else ??

bilalmalkoc commented 5 years ago
defaultValues: {
    'text-input': 'foo'
},

Add this parameter. 'text-input' is name attribute.