Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add className to FormComponentLoader #2720

Open
EloyID opened this issue Jun 14, 2021 · 0 comments
Open

Add className to FormComponentLoader #2720

EloyID opened this issue Jun 14, 2021 · 0 comments

Comments

@EloyID
Copy link
Contributor

EloyID commented Jun 14, 2021

Is your feature request related to a problem? Please describe.
When I want to use inputClassname with a formcomponent that has to query the options, the FormComponentLoader wraps the element with inputClassname and, e.g., the halfWidthLeft has no effect
https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-forms/lib/components/FormComponentLoader.jsx

Describe the solution you'd like
I would like to add an option formLoaderClassname to be passed to the FormComponentLoader similare to inputClassname to FormComponentInner
https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-ui-material/lib/components/forms/FormComponentInner.jsx

Describe alternatives you've considered
I tried to use classnames to make it work, but the object classes is not passed to the FormComponentLoader and I don't know how to make it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant