Skip to content

Fix <AutocompleteInput> has hole in the outline when no label#10646

Merged
djhi merged 1 commit into
masterfrom
fix-AutocompleteInput-outline-no-label
Apr 7, 2025
Merged

Fix <AutocompleteInput> has hole in the outline when no label#10646
djhi merged 1 commit into
masterfrom
fix-AutocompleteInput-outline-no-label

Conversation

@slax57
Copy link
Copy Markdown
Contributor

@slax57 slax57 commented Apr 7, 2025

Problem

Closes #10645

Solution

Apply styling workaround automatically (i.e. set width of <legend> to 0)

How To Test

http://localhost:9010/?path=/story/ra-ui-materialui-input-autocompleteinput--outlined-no-label

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why) -> not possible (UI only)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

@djhi djhi merged commit cedba83 into master Apr 7, 2025
16 checks passed
@djhi djhi deleted the fix-AutocompleteInput-outline-no-label branch April 7, 2025 15:48
@djhi djhi added this to the 5.7.2 milestone Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using "outlined" variant and "false" label props displays a hole on <AutocompleteArrayInput />

2 participants