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

Material UI TextWidget does not set the step attribute on the input element. #2488

Closed
3 tasks done
atrakh opened this issue Jul 27, 2021 · 1 comment
Closed
3 tasks done
Labels
bug material-ui material-ui related theme issue

Comments

@atrakh
Copy link

atrakh commented Jul 27, 2021

Prerequisites

Description

The Material UI theme's TextWidget does not set the step attribute on the input element. This causes a bug in safari where floats are not valid inputs.

Steps to Reproduce

  1. Visit this playground
  2. Inspect the Number input element

Expected behavior

I would expect this behavior to be consistent with the unthemed TextField element, setting step="any"

Actual behavior

The step attribute is not set.

Version

2.5.1

@jacqueswho jacqueswho added bug material-ui material-ui related theme issue labels Feb 22, 2022
@heath-freenome
Copy link
Member

Fixed in v5 beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug material-ui material-ui related theme issue
Projects
None yet
Development

No branches or pull requests

3 participants