Skip to content

Commit

Permalink
refactor: supporting required directive
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia authored and dleard committed Nov 24, 2021
1 parent 0bbd62c commit 7ea9480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/lib/theme/widgets/TextWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const TextWidget: React.FunctionComponent<WidgetProps> = ({
onChange,
label,
value
required
}) => {
return (
<Input
Expand All @@ -16,6 +17,7 @@ const TextWidget: React.FunctionComponent<WidgetProps> = ({
label={label}
value={value}
size="medium"
required={required}
></Input>
);
};
Expand Down

0 comments on commit 7ea9480

Please sign in to comment.