Skip to content

Commit

Permalink
🐛 - fix: fix a bug where AttributeTable in edit mode did not the requ…
Browse files Browse the repository at this point in the history
…ired attribute on a FormControl
  • Loading branch information
svenvandescheur committed Jun 21, 2024
1 parent 8e4e3e3 commit d14d1a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/data/attributetable/attributetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,12 @@ export const AttributeTableRow: React.FC<AttributeTableRowProps> = ({
defaultChecked={
field.type === "boolean" ? Boolean(rawValue) : undefined
}
hidden={!isEditing}
name={name}
options={field.options}
required={true}
type={field.type === "number" ? "number" : undefined}
value={rawValue?.toString()}
hidden={!isEditing}
/>
);
};
Expand Down

0 comments on commit d14d1a2

Please sign in to comment.