question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

autocomplete is blocked (happens in demo app to)

See original GitHub issue

What you were expecting: Being able to type in the autocompleteinput

What happened instead: autocompleteinput is blocked, i can not change the value. this also happens in the demo application.

Steps to reproduce:

<ReferenceInput label="Company" source="companyId" reference="companies" filterToQuery={searchText => ({ name: searchText })}>
    <AutocompleteInput optionText="name" optionValue="id"/>
</ReferenceInput>

Environment

  • React-admin version: 2.3.1
  • React version: 16.5.2
  • Browser: chrome
  • Stack trace (in case of a JS error): no error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
kamil-boreckicommented, Sep 21, 2018

in our case, this helped

<AutocompleteInput inputValueMatcher={() => null}/>
1reaction
AkselsLedinscommented, Sep 21, 2018

@kamil-borecki Thank you it helped

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Impact of the Autocomplete Feature on Web Security - Invicti
The HTML autocomplete feature improves user experience but contains security risks. This blog post describes the technical elements of the ...
Read more >
Autofill | Apple Developer Forums
Hi, I've implemented the Username/Password AutoFill feature on the login page based on this article, but here is something weird. For example, if...
Read more >
Optimize your app for autofill - Android Developers
The autofill framework saves user input for future use by showing a "Save for autofill?" dialog after the autofill context is finished.
Read more >
Autofill - web.dev
One way to help users fill out forms faster is by offering them the option to automatically fill in form fields with previously...
Read more >
HTML attribute: autocomplete - MDN Web Docs
The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found