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