mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-31 01:53:32 +00:00
fix(tui): simplify form field labels
This commit is contained in:
parent
30d09a7d7e
commit
b671a77145
1 changed files with 1 additions and 5 deletions
|
|
@ -746,11 +746,7 @@ export function FormPrompt(props: { form: FormWithLocation }) {
|
|||
<Show when={!confirm() && answerField()}>
|
||||
<box paddingLeft={1} gap={1}>
|
||||
<box>
|
||||
<text fg={themeV2.text.default}>
|
||||
{answerField()!.description ?? formLabel(answerField()!)}
|
||||
{answerField()!.required ? " (required)" : ""}
|
||||
{multi() ? " (select all that apply)" : ""}
|
||||
</text>
|
||||
<text fg={themeV2.text.default}>{answerField()!.description ?? formLabel(answerField()!)}</text>
|
||||
</box>
|
||||
<Show when={textual() ? answerField()!.key : undefined} keyed>
|
||||
<box paddingLeft={1}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue