add placeholder
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user