Skip to content

Commit

Permalink
small radiogroups på booleans og litt spacing for at det skal bli let…
Browse files Browse the repository at this point in the history
…tere å se helheten hos saksbehandler
  • Loading branch information
kmriise committed Feb 6, 2024
1 parent af95121 commit 3211c30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
20 changes: 11 additions & 9 deletions app/components/oppgave-steg-input/OppgaveStegInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@ export function OppgaveStegInput(props: IInputProps) {

case "Boolean":
return (
<OppgaveStegInputBoolean
name={name}
svartype={svartype}
label={label || svartype}
description={description}
verdi={verdi}
readonly={readonly}
options={options}
/>
<div className={cssClassNames}>
<OppgaveStegInputBoolean
name={name}
svartype={svartype}
label={label || svartype}
description={description}
verdi={verdi}
readonly={readonly}
options={options}
/>
</div>
);

case "LocalDate":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function OppgaveStegInputBoolean(props: IInputProps) {
legend: <>{label}</>,
children: undefined, // Needed to keep typescript happy
})}
size={"small"}
>
<Radio value={"true"}>{options?.trueText || "Ja"}</Radio>
<Radio value={"false"}>{options?.falseText || "Nei"}</Radio>
Expand Down

0 comments on commit 3211c30

Please sign in to comment.