add placeholder
This commit is contained in:
@@ -40,6 +40,7 @@ const DamageAmount = ({ control, damageItemList, setValue }) => {
|
||||
}
|
||||
}}
|
||||
label={`هزینه خسارت (ریال)`}
|
||||
placeholder="هزینه خسارت را وارد کنید"
|
||||
fullWidth
|
||||
size="small"
|
||||
disabled={isDisabled || itemDamage === null}
|
||||
|
||||
@@ -18,6 +18,7 @@ const DaghiFile = ({ control }) => {
|
||||
value={field.value || ""}
|
||||
label="مبلغ داغی (ریال)"
|
||||
variant="outlined"
|
||||
placeholder="مبلغ داغی را وارد کنید"
|
||||
fullWidth
|
||||
size="small"
|
||||
error={error}
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user