Closed mogsdad closed 5 years ago
@mogsdad - until this is resolved, you can use the withText
helper function to supply error.genericInvalidRequest
's localized value to the component as an already resolved value. e.g.
withText('error.genericInvalidRequest')(({genericInvalidRequest}) => <Text id="error.any" fields={{e: genericInvalidRequest }} /> )
Given a dictionary containing:
Providing
<Text>
as a field, like this:<Text id="error.any" fields={{ e: <Text id="error.genericInvalidRequest" /> }} />
Does not render the field:
Error: [object Object]