How to override a section for all inputs in a form? #869
snoozbuster
started this conversation in
General
Replies: 1 comment 10 replies
-
You're correct that config pass information to its descendants, the thing is there isn't
|
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I thought I would be able to do something like
and then for each
<FormKit>
rendered inside this form, it would have itslabel
sectionsSchema extended with whatever I passed to the root form. but this doesn't seem to work (indeed, it doesn't seem to do anything) - and I'm not sure why, because my understanding was that everyFormKit
has asectionsSchema
prop andconfig
is basically "default props for my descendants". In my scenario, the children of the FormKit is actually a FormKitSchema with a number of items in it, and I don't have direct access to modify that schema - but I'd like to insert an icon into the label of all the fields rendered.Beta Was this translation helpful? Give feedback.
All reactions