You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm getting an issue when providing my own translation object to the MaskedField component: vendor.js:24932 Warning: Unknown prop translations on <input> tag. Remove this prop from the element.
Here is my translation object: let maskTranslation = { '-': /[\-\s0-9]/ };
I suspect that the this.props.translations prop is being passed to the input control that the MaskedField creates. Can anyone replicate this issue and let me know if the problem is as I expect or should I look for another problem?
The text was updated successfully, but these errors were encountered:
Hi guys
Currently I'm getting an issue when providing my own translation object to the MaskedField component:
vendor.js:24932 Warning: Unknown prop
translationson <input> tag. Remove this prop from the element.
Here is my translation object:
let maskTranslation = { '-': /[\-\s0-9]/ };
And here is my MaskedField call:
<MaskedField ref="DurationField" className={classString} type="text" value={durationValue} placeholder={placeholder} mask={durMask} translations={maskTranslation} onChange={this.handleChange} readOnly={this.props.readOnly} />
I suspect that the this.props.translations prop is being passed to the input control that the MaskedField creates. Can anyone replicate this issue and let me know if the problem is as I expect or should I look for another problem?
The text was updated successfully, but these errors were encountered: