David Marr
David Marr
You can use `this.data` to access the unchanged, initial data.
You wouldn't even have to use refs. For example: If component had a state with a `Form` instance, like so: ``` getInitialState: function() { return { form: new MyForm({ labelSuffix:...
you'd want to wrap component X in a regular react form, however.
In the earlier bug you filed Johnny said you should use the autoFocus property. https://github.com/insin/newforms/issues/63 Did you try that? What does the definition of your field look like. I'm using...
I guess you'd use the `ref` widgetAttr then and call focus() that way. On Thu, Apr 2, 2015 at 4:16 PM, Ismael [email protected] wrote: > Autofocus does work for the...
@gcanti are you saying you like newforms better than your own tcomb-forms?
Untested, but have you tried the `:valid` and `:invalid` pseudoselectors?
updates on this? Also when will you upgrade the get-form-data dep to 1.2.2? I am hitting an issue (only in phantomjs) where validate throws: ``` Error: A form element name...
Thanks Jonathan, Do you know why we don't see the resource hogginess when using the vanilla js browser demo?
@jrowny I tested with lower quality video (320x200) and I didn't see much GPU change (maybe 1-2%). I don't think the react example (this repo) sets initial quality afaik, so...