backbone-forms
backbone-forms copied to clipboard
Form framework for BackboneJS with nested forms, editable lists and validation
Hello. I added in my form a field with checkboxes. And now I have some problems: I see In the form a input field and over it the checkbox. How...
Currently the callbacks for form events receive `form, editor` which is not particularly useful. Would be better to pass `field` as the user probably already has access to form, and...
I ran into this today. I had to stop using { type: 'Hidden' } and go with { type: 'Text' } with a display:none override in my CSS file. I...
When you call setValue on a List editor, it in turn calls the render method to redisplay the values. This renders the data under a new element but since it's...
I've needed to dynamically change a form schema and then re-render the form. Right now you can say: `form.schema = newSchema` but then `form.fieldsets`, `form.selectedFields`, etc. get out-of-date and have...
Browser Console Output: **_error: TypeError: this.nestedForm is undefined**_ Solution: check if nestedForm is set in Line 2040 ( add if statement) ``` validate: function() { if (!this.nestedForm) return; return this.nestedForm.validate();...
Browsing through old commits it seems there once was a `createTemplate` and `setTemplateCompiler` functions to integrate different templating engines like Mustache. Currently, there's only some artifacts/leftovers in some tests, but...
What do you think about validating models by some external plugin e.g. Backbone.validation? https://github.com/thedersen/backbone.validation It seems that Backbone.validation has much mature and complex validators than backbone-forms and it also more...
Right now if `model` is passed `data` is omitted. It would be useful to allow passing in both `data` and `model` so `data` can be used for defaults wherever a...
From what i can see you can not set defaults for nested forms in a list item. So for example pressing "Add" should populate the new nested model with some...