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

Create an Int input #395

Open
aaroncox opened this issue Feb 27, 2025 · 0 comments
Open

Create an Int input #395

aaroncox opened this issue Feb 27, 2025 · 0 comments

Comments

@aaroncox
Copy link
Member

We're currently using generic JS numbers for a lot of state that could otherwise be cast to one of the Antelope Int types.

https://wharfkit.com/docs/antelope/int

We should create a new number input, similar to what we do on with Name types, that accepts any Int type and allows binding the value of the input and also performs validation.

We may need to figure out how to use generics with components in order to properly type the binding.

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

No branches or pull requests

1 participant