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

Placeholder default value seems to be ignored? #1716

Closed
sritchie opened this issue Nov 8, 2022 · 2 comments
Closed

Placeholder default value seems to be ignored? #1716

sritchie opened this issue Nov 8, 2022 · 2 comments
Assignees
Labels

Comments

@sritchie
Copy link
Contributor

sritchie commented Nov 8, 2022

On the demo site, the x in the placeholder's default position is not displayed:

image

I've also noticed that in placeholders, the virtual keyboard is automatically displayed on focus on non-mobile devices, which is different than the usual mathfield behavior.

@arnog arnog self-assigned this Nov 8, 2022
@arnog arnog added the bug label Nov 8, 2022
@arnog arnog closed this as completed in da7a1a0 Nov 15, 2022
@arnog
Copy link
Owner

arnog commented Nov 15, 2022

OK, it's a bit confusing, but it turns out the syntax for default value in placeholder is actually \placeholder[id][default-value]{}

@sritchie
Copy link
Contributor Author

@arnog , I'm trying this out now and it looks like input events aren't firing now when the placeholder value changes. Is this intentional? Is there some other way to capture the placeholder value now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants