-
Notifications
You must be signed in to change notification settings - Fork 31
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
Having multiple sections #9
Comments
The package does not support sections yet, but it will, soon. This feature is pretty straightforward. But from what I see, at least in the upper section, the fields seem to be of a random/custom width (even height for the select) I don't think we would target this anytime soon :) I'm kinda' curios to see how this form would look on a mobile device. |
Sections would be a really great idea, because you could group some fields into them. However custom width is not a problem if you have sections to group some fields. I didn't notice the different heights for the select. Visualization on a mobile device of this form is pretty good too :) each fields is rendered in a different row. Thanks for the instant answer 👍 |
I added in Maybe it could be useful to someone to have a custom rendering of the form in a custom Vue file using the following code
You can still use fields contained in JSON file just setting the Hoping that you like this customization and that you'll integrate this little modification in |
Having two custom slots, one for the form content and one for custom buttons might be a good idea. It would allow the user to add custom widgets to the form. Is this what you are thinking? I'm not sure I understand the "hidden" part. You don't need to pass arguments in the template, and to bypass rendering by hiding them, only to access them in the front end. With a custom slot, you can write directly in the frontend whatever logic you need |
How is the status with the section-topic? I would need this 2 features too:
Thx! |
Whenever I will have the time, but for sure is one of the most urgent one.
This is my understanding of sections too. |
perfect - if I can help you please tell me how :)
|
It would be nice if you would try some different visual mockups and share them here, so we can get it right from the first time. |
I think for the 2 mentioned points mockups are not needed or btw. the screenshot here is already not bad (for section headlines)
|
Hi again guys, I modified the code in this way at the moment to have two custom sections (one at the beginning and one at the ending).
Maybe this could be an exhaustive solution to everyone because two sections could be enough for the majority of web applications. Headlines in the screenshot were a CSS customization of headings. |
A preview of the new feature and the template to achieve this:
|
@gandesc please update the docs for: Pics (we have now the old vue-select)
|
the User edit.vue and create.vue are also updated. please look here https://github.com/laravel-enso/Enso/tree/master/resources/assets/js/pages/administration/users |
@aocneanu how did you customize the widths into the section? Have you got an example of the code? I was interested in having the same result of your last screenshot |
@cosimolemma I used the "columns": "custom" option :) |
@aocneanu perfect. Thank you 👍 |
Ability to Show/Hide tabs in form dinamically
Hi,
I would reach a similar result to a form I'm building.
May I do a form similar to this with only a JSON file? Thanks in advance 👍
The text was updated successfully, but these errors were encountered: