import { Grid, Stack, TextField } from "@mui/material"; import { Controller } from "react-hook-form"; import PersianTextField from "@/core/components/PersianTextField"; import ImageUpload from "@/components/dashboard/damages/operator/Actions/create/Forms/ImageUpload"; const MachineInfo = ({ control }) => { return ( ( { const inputValue = event.target.value; if (isNaN(Number(inputValue))) { return; } onChange(inputValue); }} /> )} /> ( { const inputValue = event.target.value; if (isNaN(Number(inputValue))) { return; } onChange(inputValue); }} /> )} /> ( { const inputValue = event.target.value; if (isNaN(Number(inputValue))) { return; } onChange(inputValue); }} /> )} /> ( )} /> ( )} /> ( )} /> ( )} /> ( )} /> ); }; export default MachineInfo;