Skip to content

Commit

Permalink
Merge pull request #6920 from marmelab/fix-simple-select-label
Browse files Browse the repository at this point in the history
Fix SelectInput label being overridden in simple project
  • Loading branch information
fzaninotto committed Dec 15, 2021
2 parents c125c5e + b2c09aa commit 2100942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple/src/posts/PostEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ const PostEdit = ({ permissions, ...props }) => {
scopedFormData &&
scopedFormData.user_id ? (
<SelectInput
label="Role"
source={getSource('role')}
choices={[
{
Expand All @@ -178,6 +177,7 @@ const PostEdit = ({ permissions, ...props }) => {
},
]}
{...rest}
label="Role"
/>
) : null
}
Expand Down

0 comments on commit 2100942

Please sign in to comment.