add placeholder

This commit is contained in:
AmirHossein Mahmoodi
2025-02-25 15:27:09 +03:30
parent 917551cef6
commit c0aee0a9a8
3 changed files with 5 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ const DamageAmount = ({ control, damageItemList, setValue }) => {
} }
}} }}
label={`هزینه خسارت (ریال)`} label={`هزینه خسارت (ریال)`}
placeholder="هزینه خسارت را وارد کنید"
fullWidth fullWidth
size="small" size="small"
disabled={isDisabled || itemDamage === null} disabled={isDisabled || itemDamage === null}

View File

@@ -18,6 +18,7 @@ const DaghiFile = ({ control }) => {
value={field.value || ""} value={field.value || ""}
label="مبلغ داغی (ریال)" label="مبلغ داغی (ریال)"
variant="outlined" variant="outlined"
placeholder="مبلغ داغی را وارد کنید"
fullWidth fullWidth
size="small" size="small"
error={error} error={error}

View File

@@ -1,7 +1,7 @@
import { Grid, Stack, TextField } from "@mui/material"; import NumberField from "@/core/components/NumberField";
import { Grid, Stack } from "@mui/material";
import { Controller } from "react-hook-form"; import { Controller } from "react-hook-form";
import ImageUpload from "./ImageUpload"; import ImageUpload from "./ImageUpload";
import NumberField from "@/core/components/NumberField";
const InsuranceFile = ({ control }) => { const InsuranceFile = ({ control }) => {
return ( return (
@@ -20,6 +20,7 @@ const InsuranceFile = ({ control }) => {
variant="outlined" variant="outlined"
fullWidth fullWidth
size="small" size="small"
placeholder="مبلغ بیمه را وارد کنید"
error={error} error={error}
helperText={error && error.message} helperText={error && error.message}
/> />