-
Notifications
You must be signed in to change notification settings - Fork 532
Render groups as bootstrap tabs #285
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
Comments
Or use visibility function that can somehow determine which tab is in use? |
This works great: So if you want to show/hide field(s) based on the value of another field set their visibility to a function like
of course use what ever logic you want now. |
For tabs see |
@DelfsEngineering thanks so much for the suggestions! I'll definitely take a harder look at the vue-form-wizard. Know of any examples of how to make the tabs look like regular bootstrap tabs? It's possible that I could rethink whether my app should have more of a guided wizard UX, but converting my app over to how it currently works would be great. |
@DelfsEngineering also, do you know of any examples of how the multi field and multiple option is used in practice? I see what the documentation says, but I suspect there's a use-case or use-cases behind supporting that and the merge logic that respects multi. Thanks again for any help! |
I suppose the best you could do without forking |
Hey @ericpyle For a more strict flow/wizard If you need tabs and more flexibility use tab components. |
Thanks, @cristijora. I'll look into integrating vfg with the other tab components and also ask my team whether we want to move toward a wizard approach. @DelfsEngineering I still have an outstanding question about use cases for |
@ericpyle you mean multi select ? A select with multiple options? Not sure I understand what |
I mean multi field property "if true, it will visible only if multiple is true in component attributes" https://icebob.gitbooks.io/vueformgenerator/content/fields/field_properties.html |
@cristijora see reply above. Thanks! |
@ericpyle Honestly not sure to what it refers. I've used the |
as far as this issue goes, I'm ready to close it. I think if needed, I could have one vfg instance that gets reloaded each time a user switches tabs. @icebob before I close this, could you please explain what the |
@ericpyle can we close this? |
@zoul0813 yes |
hey @cristijora is there any easy way (or if it is possible) to convert the some as in the example of this subgroup ('Location') in #670 |
Wishing I could use groups to render the form in a different way, like with each section having it's own tab. I could have multiple vfg instances with one form per tab. Or maybe I could use multi attribute to just hide all fields that are not in that tab.
Thoughts on best way to do this?
The text was updated successfully, but these errors were encountered: