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

singlefieldlist-component #6036

Merged
merged 1 commit into from
Mar 15, 2021
Merged

singlefieldlist-component #6036

merged 1 commit into from
Mar 15, 2021

Conversation

fzaninotto
Copy link
Member

Problem

<SingleFieldList> uses a <div> as root component by default. When one wants to inline a singlefieldlist, they have to use custom styles. It's cumbersome.

Solution

Allow to override the root component

<SingleFieldList component="span">

@fzaninotto fzaninotto added the RFR Ready For Review label Mar 14, 2021
@djhi djhi added this to the 3.14 milestone Mar 15, 2021
@djhi djhi merged commit 76def6e into next Mar 15, 2021
@djhi djhi deleted the singlefieldlist-component branch March 15, 2021 08:13
fzaninotto added a commit that referenced this pull request Mar 29, 2021
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.

None yet

2 participants