This commit is contained in:
2024-10-11 16:03:39 +05:30
parent 915242c1f3
commit 6c16d142d6

View File

@@ -205,7 +205,7 @@ const CreateRequest = () => {
size={"sm"}
fontSize={"sm"}
rounded={"sm"}
type={"transaction_date"}
type={"date"}
max={new Date().toISOString().split("T")[0]} // Disable future dates
{...register("transaction_date")}
/>
@@ -215,7 +215,7 @@ const CreateRequest = () => {
{/* Amount Field */}
<FormControl isRequired w={"49%"} mb={2} isInvalid={errors.amount}>
<FormLabel textAlign={"left"} fontSize={"xs"} color={"gray.600"}>
Amount
Amount (BHD)
</FormLabel>
<Input
bg={"#F5F8F6"}