You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
You will see that remaining element will have path 1.title but it's actual path 0.title.
If you will try to type something into this textbox it will pass incorrect path to form onChange callback
It quite easy to fix in t.form.ComponentshouldComponentUpdate method
The text was updated successfully, but these errors were encountered:
Version
Expected behaviour
Components gets re-rendered when its path changes.
Actual behaviour
tcomb
Component
class hasshouldComponentUpdate
defined that prevent component update onpath
changesSteps to reproduce
You will see that remaining element will have path
1.title
but it's actual path0.title
.If you will try to type something into this textbox it will pass incorrect path to form
onChange
callbackIt quite easy to fix in
t.form.Component
shouldComponentUpdate
methodThe text was updated successfully, but these errors were encountered: