Closed gbiryukov closed 7 years ago
/cc @karlguillotte
Yeah! Right. Did not get that problem as I was calling that function myself from my template. Sorry about that. Perhaps you could revert my change and I will just extend the list component myself.
Perhaps you could revert my change and I will just extend the list component myself
Ok, thanks @karlguillotte
Version
Expected behaviour
Default value of new list items should be
undefined
Actual behaviour
Default value of new items is instance of
SyntheticMouseEvent
. It cause weird validation errors messages on new list itemsSteps to reproduce
List
factory<button type="button" onClick={locals.add.click} />
SyntheticMouseEvent
as new item in list