From bb4a1c1943aaf196b208a33472ebedb8fb56f1cf Mon Sep 17 00:00:00 2001 From: Sindre Kjelsrud Date: Tue, 1 Aug 2023 12:38:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Jobber=20med=20endring=20av=20ti?= =?UTF-8?q?ttel,=20beskrivelse=20og=20arbeidsstatus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WIP: må pulle main først for å få tak i nytt interface Co-authored-by: Markus A. R. Johansen --- frontend/src/components/FeilCard.tsx | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/FeilCard.tsx b/frontend/src/components/FeilCard.tsx index 16923ca..990c6ca 100644 --- a/frontend/src/components/FeilCard.tsx +++ b/frontend/src/components/FeilCard.tsx @@ -1,5 +1,5 @@ import "@navikt/ds-css"; -import { Button, Heading, Modal, Tag } from "@navikt/ds-react"; +import { Button, Heading, Modal, Radio, RadioGroup, Tag, TextField } from "@navikt/ds-react"; import { IFeilmelding } from "../interface"; import FeilModal from "./FeilModal"; import { useEffect, useState } from "react"; @@ -25,9 +25,10 @@ export const FeilKort = (props: IFeilKort) => { Modal.setAppElement(document.getElementById('root')); }, []); + const [arbeidsstatus, setArbeidsstatus] = useState(0) + const lagreEndringer = () => { setRedigeringsmodus(false) - } return( @@ -46,7 +47,26 @@ export const FeilKort = (props: IFeilKort) => { {redigeringsmodus ?
- +
+ + + {setArbeidsstatus(arbeidsstatus)}} + value={arbeidsstatus} + > + Ikke påbegynt + Feilen jobbes med + Feilen er fikset + +