if you try filter selection (example "nex") and click on option ("Next.js") the component select the first element (in this case "Angular")
also the example on the official documentation is affected https://coreui.io/react/docs/forms/autocomplete/
`import React from 'react'
import { CAutocomplete } from '@coreui/react-pro'
export const AutocompleteRestrictedSelectionExample = () => {
return (
<CAutocomplete
allowOnlyDefinedOptions
options={['Angular', 'Bootstrap', 'Next.js', 'React.js', 'Vue.js']}
placeholder="Only predefined options allowed..."
/>
)
}
`
if you try filter selection (example "nex") and click on option ("Next.js") the component select the first element (in this case "Angular")
also the example on the official documentation is affected https://coreui.io/react/docs/forms/autocomplete/
`import React from 'react'
import { CAutocomplete } from '@coreui/react-pro'
export const AutocompleteRestrictedSelectionExample = () => {
return (
<CAutocomplete
allowOnlyDefinedOptions
options={['Angular', 'Bootstrap', 'Next.js', 'React.js', 'Vue.js']}
placeholder="Only predefined options allowed..."
/>
)
}
`