When I assign a ref this.inputRef to a rc-input-number component, for example, If the code is this.inputRef.value="123", the following error will be triggerred.
Uncaught TypeError: Illegal invocation
at Proxy.set (react-dom.development.js:1661:1)
...
By introducing the proxyObject a month ago (Commit: https://github.com/react-component/util/commit/c1dc1ed79ab2b0de6fd4cf9f1fd36f7644ff6eee), there is no possible to set the value (e.g.,
input.value
, ordiv.innerHTML
, etc.) directly.When I assign a ref
this.inputRef
to arc-input-number
component, for example, If the code isthis.inputRef.value="123"
, the following error will be triggerred.