diff --git a/src/components/management/IPAField.jsx b/src/components/management/IPAField.jsx index 885edea..48dad98 100644 --- a/src/components/management/IPAField.jsx +++ b/src/components/management/IPAField.jsx @@ -25,6 +25,12 @@ export class IPAField extends Component { this.field = null; } + componentWillReceiveProps (nextProps) { + this.setState({ + value: nextProps.value + }); + } + showHelp () { if (this.state.doShowHelp) { return ( diff --git a/src/components/management/WordForm.jsx b/src/components/management/WordForm.jsx index 02b3d52..ff1d72a 100644 --- a/src/components/management/WordForm.jsx +++ b/src/components/management/WordForm.jsx @@ -98,7 +98,7 @@ export class WordForm extends Component {

- this.setState({ wordPronunciation: newValue })} />
@@ -143,11 +143,10 @@ export class WordForm extends Component {

+ }} /> {(!this.state.detailsIsValid) ? (