Skip to content

Commit

Permalink
fix: store constant values as Number (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaTasha authored Aug 25, 2022
1 parent 6c26fea commit 0eef010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/components/builder/constants/MapTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ const InputComponent: ConstantFieldComponent = ({
type="number"
placeholder="Numeric Value"
{...register(`table.${index}.value`, {
valueAsNumber: true,
required: {
value: true,
message: 'Table row value cannot be empty',
Expand Down

0 comments on commit 0eef010

Please sign in to comment.