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

Dynamic panel layout #523

Open
cgravita opened this issue Oct 17, 2024 · 1 comment · May be fixed by #542
Open

Dynamic panel layout #523

cgravita opened this issue Oct 17, 2024 · 1 comment · May be fixed by #542
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cgravita
Copy link

Good evening!
I've been diving deeper into how dynamic creation of form elements works in the Business Forms panel.

I think I’ve got a good grasp of the basics when it comes to creating and managing individual form elements. However, I believe it would be helpful to add a section to the forum that details the available keys and values for each element type. For example, listing all available "type" like "select," "slider," "boolean," "number," etc. I couldn’t find a dedicated section, so I’ve been experimenting on my own. If I wanted to create a "custom option radio group", what type should I enter? How do I decide the width of the Label? the color? the options? (this is an example, I don't need this information but a section that guides the user through all the available possibilities would be useful).

Along with this suggestion, I also wanted to ask if it's possible to manage the panel layout dynamically as well. Specifically, I'm looking to create sections dynamically, but I haven't found any guidance on how to do this.

Thank you!

@mikhail-vl mikhail-vl added the question Further information is requested label Oct 17, 2024
@mikhail-vl mikhail-vl added this to the Forms 4.9.0 milestone Oct 17, 2024
@mikhail-vl mikhail-vl added enhancement New feature or request and removed question Further information is requested labels Oct 17, 2024
@mikhail-vl
Copy link
Member

@cgravita We have documentation for elements, which I am planning to update to make it more clear: https://volkovlabs.io/plugins/business-forms/form-elements/

It's a good idea to provide JSON definition for dynamic elements. I will add it.
You can't create sections dynamically, but it's a good idea and we will add it in future releases.

@mikhail-vl mikhail-vl assigned asimonok and unassigned vitPinchuk Oct 18, 2024
@vitPinchuk vitPinchuk linked a pull request Nov 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

Successfully merging a pull request may close this issue.

4 participants