Minor fixes TimePerActivity component to use readOnly input fields
This commit is contained in:
parent
eb741ba20d
commit
ff37236cf6
1 changed files with 6 additions and 18 deletions
|
@ -95,9 +95,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={developmentTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -108,9 +106,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={meetingTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -121,9 +117,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={adminTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -134,9 +128,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={ownWorkTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -147,9 +139,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={studyTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -160,9 +150,7 @@ export default function TimePerRole(): JSX.Element {
|
|||
type="string"
|
||||
className="border-2 border-black rounded-md text-center w-1/2"
|
||||
value={testingTime}
|
||||
onKeyDown={(event) => {
|
||||
event.preventDefault();
|
||||
}}
|
||||
readOnly
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue