Comments (5)
I'm not sure I understand what you're trying to achieve here. What would be the expected behavior if the user adds an item to the tabarray? Wouldn't some derivative of fieldset
that uses tabs to group fields better fit your use case?
from jsonform.
Sorry if I was not clear, but yes something like the fieldset that uses tabs it's what I'm looking, I need to make a big and long form something like a wizard with steps.
from jsonform.
I found another project https://github.com/gilluminate/Bootstrap-Wizard that would be great to be included here as a control type...what do you think ? @tidoust
from jsonform.
So, that's not a bad idea but I feel that exceeds the scope of what JSON Form tries to provide, at least for now.
JSON Form is really about providing some library to integrate forms within an application and bind them to an underlying data model, not as a full-fledged framework that would let one develop an application from A to Z. I feel integrating too many control types would turn JSON Form into something closer to an application framework. That may actually be a good idea. Your "multi-step form" use case is one we often have to deal with as well, and having to use multiple forms while handling routing from a higher level in the application is not entirely satisfactory.
You're obviously free to give it a try on your own. Note Bootstrap-Wizard is licensed under GPL v3, whereas JSON Form code is licensed under an MIT license. I would prefer to stick to an MIT license (or equivalent) throughout the code and its dependencies.
jQuery Interdependencies might be another library to look at to implement wizard-like functionalities that could go beyond mere "step-by-step" using conditional logic:
http://miohtama.github.com/jquery-interdependencies/docs/
from jsonform.
Thanks @tidoust for your prompt reply. I understand that maybe it's under the scope of the project, also I know that I can try to use this control any way by extending jsonform for this specific app I have now in they way you specify at the help.
Also I didn't noticed that little detail on project license.
Good recomendation on jQuery interdependencies, didn't know it, I'll investigate it.
from jsonform.
Related Issues (20)
- Add custom field to fieldset HOT 2
- activeClass isn't applied correctly for schemas with defaults HOT 2
- How to build a stepper form HOT 4
- process change, just fyi.. all PRs against develop branch
- Expanded Fieldset + Default TabIndex set - Collapse issue (bug) HOT 4
- tabs-left not supported in bootstrap v3
- Hide submit button HOT 2
- How to escape slash in scope HOT 3
- Rendering fails if property name contains dots HOT 1
- Missing array brackets [] on array items when using a custom field type HOT 1
- Error: JSONForm does not yet support schemas that use the $ref keyword. See: #54" HOT 2
- Boolean options are always true HOT 5
- How to use this library with bundler HOT 1
- How to show error after a control value is changed, HOT 1
- date / datetime formatting HOT 3
- Advancedfieldset form folding click handle gets duplicated when jsonform gets called again causing the folded form to flick HOT 6
- Textarea Rows HOT 2
- Fieldset along with the Select all checkbox. HOT 6
- Array binding issue HOT 6
- Swapping the images HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonform.