erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
11.99k stars 2.5k forks source link

from where does this.props is getting fields object #1407

Closed pawarvijay closed 7 years ago

pawarvijay commented 7 years ago

Not a bug but Just curious to know how its working

from where does this.props is getting fields object

fields: {id, color, sprocketCount, owner} source


  render() {
    const { editStop, fields: {id, color, sprocketCount, owner}, formKey, handleSubmit, invalid,
      pristine, save, submitting, saveError: { [formKey]: saveError }, values } = this.props;
    const styles = require('containers/Widgets/Widgets.scss');
    return (
bertho-zero commented 7 years ago

It's from an old version of redux-form.

pawarvijay commented 7 years ago

thanks for reply can you point me to new work around for this example that contains inline validation for that particular row only