2016-07-11 4 views
0

나는 재료-UI를 텍스트 필드를 사용하여 양식을하고 난 이렇게 내 모든 필드를 번역하고 있습니다 :번역 오류 메시지가 재 - UI

<TextField autoFocus={true} name='formName' 
        placeholder={this.context.intl.formatMessage(translations.formNameInputPlaceholder)} 
        value={value || ''} 
        fullWidth={true} 
        errorText={ this.shouldShowError(fieldValidity) ? <FormattedMessage { ...translations.notValid} /> : null } 
        onChange={ e => onChange(e.target.value) }/> 

는 그러나 ERRORTEXT 번역되지 않습니다 및 기본 로케일을 사용하여 유지합니다. 이 문제에 해결 하였다

답변