final-form / final-form/react-final-form

why auto complete behave like text field?

Open
#722 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

I am using `material UI` with `react-final-form`. I make two adapter `text-field` and `Auto comlete` using below link

https://material-ui.com/components/autocomplete/#autocomplete

but my auto complete list is not display why ? instead of that it behaves like a `text field` why

here is my code

https://codesandbox.io/s/react-final-form-third-party-components-example-bjqt6

const AutocompleteAdapter = ({ input, meta, ...rest }) => (
option.title}
renderInput={params => (
input.onChange(value)}
errorText={meta.touched ? meta.error : ""}
fullWidth
/>
)}
/>
);

when I type on `favourite` an complete `Auto complete` example it does not display `list` instead of it behaves like a text field ? why

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.