Skip to content

Commit

Permalink
💄 Change Placeholder in AmountInputs component (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago authored Oct 11, 2023
1 parent f14cb23 commit fbb9440
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const MbAmountAccountInput = ({
<MbInput
type="tel"
id={`amount-${id}`}
placeholder={'1'}
placeholder="0"
inputSize={ESize.BIG}
controlStatus={
isCleared || !amount
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/amount-input/AmountInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const MbAmountInput = forwardRef<HTMLInputElement, AmountButtonProps>(
disabled ? 'text-gray-500' : ''
}`}
ref={ref}
placeholder={'1'}
placeholder="0"
disabled={disabled}
required={required}
onChange={handleContentChanges}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export const MbNearAmountAccount = ({
<MbInput
id={`amount-${id}`}
type="number"
placeholder={'1'}
placeholder="0"
inputSize={ESize.BIG}
controlStatus={defaultAmountStatus(amount.value)}
disabled
Expand Down

1 comment on commit fbb9440

@vercel
Copy link

@vercel vercel bot commented on fbb9440 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.