native-pytech 1.0.165 → 1.0.166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,7 @@ export default memo(({ itemKey, defaultValue, placeholder, keyboardType, autocap
11
11
  const keyRef = useRef(itemKey ?? 0);
12
12
  useEffect(() => {
13
13
  keyRef.current = registerItem(itemKey, ref);
14
+ onValueChange(defaultValue ?? '');
14
15
  }, []);
15
16
  // onChange
16
17
  const onValueChange = useCallback((value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-pytech",
3
- "version": "1.0.165",
3
+ "version": "1.0.166",
4
4
  "description": "Libreria de React Native Pytech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",