Change input types from number to text in ViewOtherTimeReport component

This commit is contained in:
Davenludd 2024-03-21 14:01:33 +01:00
parent 689daf4e1f
commit 8d739396a1

View file

@ -109,7 +109,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Development</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={developmentTime === 0 ? "" : developmentTime}
@ -120,7 +120,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Meeting</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={meetingTime === 0 ? "" : meetingTime}
@ -131,7 +131,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Administration</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={adminTime === 0 ? "" : adminTime}
@ -142,7 +142,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Own Work</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={ownWorkTime === 0 ? "" : ownWorkTime}
@ -153,7 +153,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Studies</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={studyTime === 0 ? "" : studyTime}
@ -164,7 +164,7 @@ export default function GetOtherUsersReport(): JSX.Element {
<td>Testing</td>
<td>
<input
type="number"
type="text"
min="0"
className="border-2 border-black rounded-md text-center w-1/2"
value={testingTime === 0 ? "" : testingTime}