Skip to content

Commit

Permalink
fix: date placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNaskida committed Oct 6, 2023
1 parent 9cfa935 commit 45bcb15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>Venue App</title>

<script src="https://telegram.org/js/telegram-web-app.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/pages/BookingIndex.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ const BookingIndex = () => {
})}
/>
<Input
type="date"
type="text"
variant="bordered"
placeholder="date"
onFocus={(e) => (e.target.type = "date")}
validationState={errors.date ? "invalid" : "valid"}
errorMessage={errors.date && errors.date.message}
{...register("date", { required: "date is required" })}
Expand Down

0 comments on commit 45bcb15

Please sign in to comment.