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={`هزینه خسارت (ریال)`}
placeholder="هزینه خسارت را وارد کنید"
fullWidth
size="small"
disabled={isDisabled || itemDamage === null}

View File

@@ -18,6 +18,7 @@ const DaghiFile = ({ control }) => {
value={field.value || ""}
label="مبلغ داغی (ریال)"
variant="outlined"
placeholder="مبلغ داغی را وارد کنید"
fullWidth
size="small"
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 ImageUpload from "./ImageUpload";
import NumberField from "@/core/components/NumberField";
const InsuranceFile = ({ control }) => {
return (
@@ -20,6 +20,7 @@ const InsuranceFile = ({ control }) => {
variant="outlined"
fullWidth
size="small"
placeholder="مبلغ بیمه را وارد کنید"
error={error}
helperText={error && error.message}
/>