mui / mui-design-kits

The public feature and bug tracker for the MUI Design kits and Connect Figma plugin.
https://mui.com/design-kits/
110 stars 16 forks source link

[figma] Properties in <TextField> #351

Open smith558 opened 4 months ago

smith558 commented 4 months ago

Search keywords

### Latest version - [X] I have tested the latest version ### Steps to reproduce [Kooha-2024-05-31-17-08-49.webm](https://github.com/mui/mui-design-kits/assets/44023416/49638957-30fa-4c2e-92bd-e9cfb32e8f28) ### Current behavior ~~`Has Value` incorrectly linked with `Label`. No property for `Has Label`.~~ The issue is only with the Outlined variant. The issue is disappearing Label property, when it should not, watch the attached video. ### Expected behavior _No response_ ### Context _No response_ ### Your environment | Software | Version | | ------------------- | --------------------- | | Design file version | Material UI - v5.16.0 | | Design tool | Figma | | etc. | |
adrianmanea commented 4 months ago

It is actually correct—TextField without Value only shows the label.

smith558 commented 4 months ago

It is actually correct—TextField without Value only shows the label.

But once this property is set the Label input field disappears in Figma, it's currently set up in such a way. So it just stays "Label". It's not configured right for sure.

adrianmanea commented 4 months ago

I still don't understand what's the issue and is the first time we're hearing it. What's your use case?

No value given by the user:

Screenshot 2024-05-31 at 19 01 14

With value:

Screenshot 2024-05-31 at 19 01 22
smith558 commented 4 months ago

The issue is only with the Outlined variant. The issue is disappearing Label property, when it should not, watch the video below. Kooha-2024-05-31-17-08-49.webm

smith558 commented 4 months ago

@adrianmanea Sorry, I clarified it now. Please see the updated description and new video.

adrianmanea commented 4 months ago

Thank you for reporting this! I think I understand now, the Label is confused with the Value and it doesn't keep the overwrites.