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
I was implementing proper Field behavior when rendered/removed from FieldsArray (mounting/unmounting, to be precise) and noticed that Field cannot be rendered outside of Form.
But if I'm correct, it's as easy as adding formId prop and updating FormId getter to take that into account, not just context.FormId.
This is what BaseContainer does, inherently BaseFormButton does and Form itself does. Maybe setting formId would enable some scenarios that we didn't yet encounter?
The text was updated successfully, but these errors were encountered:
I was implementing proper
Field
behavior when rendered/removed fromFieldsArray
(mounting/unmounting, to be precise) and noticed thatField
cannot be rendered outside ofForm
.But if I'm correct, it's as easy as adding
formId
prop and updatingFormId
getter to take that into account, not justcontext.FormId
.This is what
BaseContainer
does, inherentlyBaseFormButton
does andForm
itself does. Maybe settingformId
would enable some scenarios that we didn't yet encounter?The text was updated successfully, but these errors were encountered: