For a plugin I\'m using I have to have a state that looks like this:
getInitialState() { return { invalid: true, access: { access_code: \'\',
let newAccess = Object.assign({}, this.state.access); newAccess.hospital_id = 1; this.setState({access: newAccess});