Kdyby / FormsReplicator

Other
30 stars 58 forks source link

$forceDefault behaviour #25

Open uiii opened 10 years ago

uiii commented 10 years ago

I'm not sure how should $forceDefault work, but I want it to force minimal count of items when removing. The problem is, that the attached method (which calls createDefault method where the $forceDefault is applied) is called before remove method, so the default item count is compared with the count of items before remove is performed.