import React from 'react'; import {Fieldset, Field, createValue} from 'react-forms'; export default class Simple extends React.Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this); this.state = { value: {firstName: 'John', lastName: 'Doe'} }; } onChange(value) { this.setState({value}); } render() { const {value} = this.state; return (