@asaleh37/ui-base 25.8.8-1 → 25.8.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "25.8.8-1",
3
+ "version": "25.8.9",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -192,7 +192,7 @@ const FormElementField: React.FC<FormElementFieldProps> = (
192
192
  onChangeCallBack={(v: any, selectedRecord: any) => {
193
193
  let newValue = null;
194
194
  if (v) {
195
- newValue = v + "";
195
+ newValue = v;
196
196
  }
197
197
  formManager.setValue(fieldName, newValue);
198
198
  if (props?.formProps?.onValueChangeCallBack) {
@@ -229,7 +229,7 @@ const FormElementField: React.FC<FormElementFieldProps> = (
229
229
  onChangeCallBack={(v: any, selectedRecord: any) => {
230
230
  let newValue = null;
231
231
  if (v) {
232
- newValue = v + "";
232
+ newValue = v ;
233
233
  }
234
234
  formManager.setValue(fieldName, newValue);
235
235
  if (props?.formProps?.onValueChangeCallBack) {
@@ -1,3 +1,4 @@
1
+ import { useRef } from 'react';
1
2
  import { useTranslation } from "react-i18next";
2
3
  import { useForm } from "react-hook-form";
3
4
  import { useParams } from "react-router-dom";
@@ -17,4 +18,4 @@ export { useSelector };
17
18
  export { useParams };
18
19
  export { useForm, zodResolver, z };
19
20
  export { useTranslation };
20
- export {useNavigate};
21
+ export {useNavigate};