Skip to content

Commit

Permalink
Added title to make tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobArrow committed Dec 14, 2023
1 parent 805ee6f commit 972f556
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/stories/Library/date-calendar/DateCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ const DateCalendar = () => {
}, []);

// An input is required for flatpickr to work, but we don't want to show it in the story
return <input ref={calendar} type="text" className="hide-visually" />;
return (
<input
ref={calendar}
title="Hidden field"
type="text"
className="hide-visually"
/>
);
};

export default DateCalendar;

0 comments on commit 972f556

Please sign in to comment.