Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiplyBy1e18Enabled flat to IntegerInput component #609

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

damianmarti
Copy link
Member

Description

Add multiplyBy1e18Enabled flat to IntegerInput component.

When this flag is set to false, the button to multiply the number by 1e18 is not shown. This is to be used when doesn't make sense to multiply the user input by that amount, like when it's used to enter a regular number.

The default value is true, so the default behavior is not changed.

Additional Information

Your ENS/address: damianmarti.eth

Copy link
Collaborator

@sverps sverps left a comment

Choose a reason for hiding this comment

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

Nice idea 👍

@carletex carletex merged commit a586fc2 into main Nov 21, 2023
1 check passed
@carletex carletex deleted the add-integer-input-multiply-flag branch November 21, 2023 16:08
@carletex carletex mentioned this pull request Nov 22, 2023
@github-actions github-actions bot mentioned this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants