Skip to content

Specify 'type' for '<input>' elements - #3

Open
fredden wants to merge 1 commit into
conicgames:masterfrom
fredden:input-type
Open

Specify 'type' for '<input>' elements#3
fredden wants to merge 1 commit into
conicgames:masterfrom
fredden:input-type

Conversation

@fredden

@fredden fredden commented Mar 9, 2025

Copy link
Copy Markdown

On devices with dynamic keyboards (like mobile devices), an <input type="number /> will render a number-pad keyboard by default.

This is a recreation of #2 since the default branch had its history rewritten (force push).

@conicgames

Copy link
Copy Markdown
Owner

Thanks for your contributions! However, we need to support scientific notation for these fields, so the type 'number' is too limiting since the user might need to input the letter 'e'. Are you aware of another way that could mix both?

Sorry for the force push! I wanted to clean up the author/commiter of many commits since I committed using another account unrelated to the game in the beginning of the repo. I didn't think it would affect anyone.

@fredden

fredden commented Mar 9, 2025

Copy link
Copy Markdown
Author

force push

No problem at all; it's your repo! When I ran git rebase, it worked out what had happened without difficulty.

scientific notation

This makes it tricky. I'll have a think and come back to you.

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.

2 participants