Skip to content

Commit

Permalink
fix broken form
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinodds committed May 15, 2024
1 parent 415eeaa commit 1a0da71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/project/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ export function ProjectForm({
</Grid.Col>
<Grid.Col span={{ base: 12, md: 6, lg: 6 }}>
<TextField
{...register('fundingGoal', { valueAsNumber: true })}
type="number"
{...register('fundingGoal')}
type="text"
inputMode="numeric"
pattern="[0-9]*"
label="Quarterly Funding Goal (USD)"
description="How much money do you aim to raise this quarter?"
placeholder="0"
Expand Down

0 comments on commit 1a0da71

Please sign in to comment.