Jonny Buchanan

Results 178 issues of Jonny Buchanan

PR for implementation of #78

Example: ``` javascript var SignupForm = forms.Form.extend({ password: forms.CharField({widget: forms.PasswordInput}), confirm: forms.CharField({widget: forms.PasswordInput}) clean: ['password', 'confirm', function() { var {password, confirm} = this.cleanedData if (password && confirm && password !=...

Defect

Create a utility which, when provided with an HTMLFormElement, will generate source code for a corresponding forms.Form with best guesses based on form's elements.

Utility

There's a cost associated with constantly recreating new form instances in that `YourForm.prototype.baseFIelds` gets deep -cloned to `yourFormInstance.fields` by the `BaseForm` constructor. Having a means of externalising a form's working...

Enhancement

1. Heavy Meta! 2. It'll be fun to write 3. It'll be useful 4. It'll be a good demo

Utility

There is a performance cost to forcing a re-render of the form's containing component when something changes. Figure out and document some guidelines for writing your own `BoundField`-rendering React component...

FrontEnd
React
Performance

This can wait until widgets can be specified as React components, to manage the logic of ensuring invalid days per month can never be seected

Enhancement

Use case: using newforms on Node.js with String-based templating, e.g. these Jade mixins: https://github.com/insin/successcrm/blob/master/views/mixins/forms.jade

Enhancement
BackEnd