chore: add label for checkbox and radio fields (#1607)

This commit is contained in:
Catalin Pit
2025-02-28 12:09:38 +02:00
committed by David Nguyen
parent d970976299
commit e79d762710
4 changed files with 85 additions and 0 deletions

View File

@ -125,6 +125,18 @@ export const CheckboxFieldAdvancedSettings = ({
return (
<div className="flex flex-col gap-4">
<div className="mb-2">
<Label>
<Trans>Label</Trans>
</Label>
<Input
id="label"
className="bg-background mt-2"
placeholder={_(msg`Field label`)}
value={fieldState.label}
onChange={(e) => handleFieldChange('label', e.target.value)}
/>
</div>
<div className="flex flex-row items-center gap-x-4">
<div className="flex w-2/3 flex-col">
<Label>