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

[Bug] Text overlapped in the FormField component #335

Open
wangjian1106 opened this issue Mar 6, 2024 · 0 comments
Open

[Bug] Text overlapped in the FormField component #335

wangjian1106 opened this issue Mar 6, 2024 · 0 comments

Comments

@wangjian1106
Copy link

Version

2.2.0

Reproduction link

Operating System

macOS Sonoma 14.1.2

Device

Macbook Pro M2

Browser & Version

Google Chrome 122.0.6261.94

Steps to reproduce

  1. Open file /src/layouts/pages/users/new-user/schemas/form.js
  2. Change form.formField.company.type from "text" to "date"
  3. Execute "npm start" to run the application
  4. Click "Pages -> Users -> New User" to open the page
  5. Check the date picker

What is expected?

Only label shows in the the FormField component when the FormField component is not focused.

What is actually happening?

Both label and date format shows in the the FormField component when the FormField component is not focused. The label and date format overlapped.

Screenshots

case: variant="standard"
image
case: variant="outlined"
image
case: variant="outlined" with error
image
Note that the error mark is also overlapped with the date picker button at the right side of the FormField component.


Solution

Additional comments

My computer's language is Chinese, and the date format in the FormField component is 年/月/日.

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