diff --git a/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx b/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx index 5669e83..1cec8c1 100644 --- a/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx +++ b/src/components/dashboard/damages/operator/Actions/create/Forms/DamageInfo.jsx @@ -24,7 +24,11 @@ const DamageInfo = ({ control, setValue, errors }) => { field.onChange(newAlignment)} + onChange={(event, newAlignment) => { + if (newAlignment !== null) { + field.onChange(newAlignment); + } + }} > ناوگان داخلی ناوگان خارجی