Skip to content

Commit 6132a40

Browse files
committed
Fix simple example
1 parent 4c432a3 commit 6132a40

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/simple/src/comments/CommentEdit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ const CommentEdit = props => {
151151
return title.includes(filterValue);
152152
}}
153153
optionText={<OptionRenderer />}
154+
openOnFocus={false}
154155
inputText={inputText}
155156
/>
156157
</ReferenceInput>

examples/simple/src/posts/PostCreate.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ const PostCreate = () => {
159159
<AutocompleteInput
160160
label="User"
161161
create={<CreateUser />}
162+
openOnFocus={false}
162163
/>
163164
</ReferenceInput>
164165
<FormDataConsumer>

examples/simple/src/posts/TagReferenceInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const TagReferenceInput = ({
4646
<AutocompleteArrayInput
4747
create={<CreateTag />}
4848
optionText={`name.${locale}`}
49+
openOnFocus={false}
4950
/>
5051
</ReferenceArrayInput>
5152
<Button

0 commit comments

Comments
 (0)