File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/ra-ui-materialui/src/input Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -742,11 +742,6 @@ const CreateAuthor = () => {
742742} ;
743743
744744export const InsideReferenceArrayInputAndCreationSupport = ( ) => {
745- const optionRenderer = choice => {
746- return choice . first_name && choice . last_name
747- ? `${ choice . first_name } ${ choice . last_name } `
748- : `${ choice . name } ` ;
749- } ;
750745 return (
751746 < TestMemoryRouter initialEntries = { [ '/books/1' ] } >
752747 < AdminContext
@@ -780,7 +775,6 @@ export const InsideReferenceArrayInputAndCreationSupport = () => {
780775 < SelectArrayInput
781776 create = { < CreateAuthor /> }
782777 createLabel = "Create a new Author"
783- optionText = { optionRenderer }
784778 />
785779 </ ReferenceArrayInput >
786780 < FormInspector name = "authors" />
You can’t perform that action at this time.
0 commit comments