Skip to content

Commit

Permalink
feat(front): add inputId for calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhetru committed Sep 27, 2024
1 parent b4dc641 commit 1b119eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HRNet-project/src/pages/CreateEmployeeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function CreateEmployeeView() {
placeholder="Select a date"
value={birthDate}
onChange={(e) => setBirthDate(e.value)}
inputId="date-of-birth"
showIcon
/>
</div>
Expand All @@ -126,6 +127,7 @@ function CreateEmployeeView() {
placeholder="Select a date"
value={startDate}
onChange={(e) => setStartDate(e.value)}
inputId="start-date"
showIcon
/>
</div>
Expand Down Expand Up @@ -175,6 +177,7 @@ function CreateEmployeeView() {
options={statesForSelect()}
optionLabel="name"
placeholder="Select a state"
aria-label="state"
/>
</div>
<div className="form-field w-48">
Expand Down Expand Up @@ -204,6 +207,7 @@ function CreateEmployeeView() {
options={departmentsForSelect()}
optionLabel="name"
placeholder="Select a department"
aria-label="department"
/>
</div>
<div className="flex justify-center">
Expand Down

0 comments on commit 1b119eb

Please sign in to comment.