1

In general question: How to add custom autocomplete value to the AutocompleteInput ?

Problem started when you will try to add options to the AutocompleteInput:

<ReferenceInput source="company_id" reference="companies" validate={required()}>
        <AutocompleteInput optionValue="id" optionText="name" options={{autoComplete: 'blabla'}}/>
</ReferenceInput>

enter image description here

Everything works good with (for example):

<LongTextInput options={{autoComplete: 'blabla'}}/>

enter image description here

Dmytro
  • 321
  • 1
  • 10

0 Answers0