react-mask-mixin icon indicating copy to clipboard operation
react-mask-mixin copied to clipboard

_onBlur, caret position and element value

Open talvi opened this issue 9 years ago • 0 comments

Element value cut by cursor position even if value is properly filled. Check _onBlur function. Fast fix: this.mask.props.value = value.substr(0, cursor) -> this.mask.props.value = value.substr(0, value.length)

talvi avatar May 19 '15 12:05 talvi