Bring over email address management

This commit is contained in:
Travis Ralston 2019-01-22 15:18:14 -07:00
parent fa1ce61a06
commit aa7afe819f
11 changed files with 342 additions and 11 deletions

View file

@ -38,6 +38,13 @@ export default class Field extends React.PureComponent {
return this.refs.fieldInput.value;
}
set value(newValue) {
if (!this.refs.fieldInput) {
throw new Error("No field input reference");
}
this.refs.fieldInput.value = newValue;
}
render() {
const extraProps = Object.assign({}, this.props);