Felipe Mejía
Felipe Mejía
Thanks @artyorsh , I implemented your suggestion but I get this error message "selectRef.current.clear is not a function. (In 'selectRef.current.clear()', 'selectRef.current.clear' is undefined)". I already inspected selectRef and other props...
```javascript const selectRef = createRef(); function AddClientScreen(props) { const { client } = state; useEffect(() => selectRef.current.clear(), [client]); ... return ( ); } ```
I get same error. Inspecting selectRef.current object I found this: ```javascript Object { "_reactInternalFiber": FiberNode { "tag": 1, "key": null, "type": [Function SelectComponent], }, "_reactInternalInstance": Object {}, "animateIcon": [Function anonymous],...
@artyorsh I compare the files: sect.component.d.ts and input.component.d.ts in node modules/@ui-kitten and I noticed that in the second file the methods described in the documentation are missing.