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.

Feature request: ability to override the Input component of a TextField

See original GitHub issue
  • This is a v1.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

redux-form-material-ui v5 has a quick-and-easy TextField adapter component that injects the necessary helperText, value, onChange, etc.

But to be able to use it for an address field, I need to override the Input component with something that does autocomplete (e.g. using react-places-autocomplete)

Current Behavior

Right now I’d have to basically duplicate the code in TextField, but with my own Input component instead.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
jedwards1211commented, Aug 11, 2018

Yeah I’ll make a PR for that soon!

0reactions
jedwards1211commented, Nov 30, 2019

Oh, I never even thought to look for that. Thanks for letting me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ability to override the Input component of a TextField ... - GitHub
Current Behavior. Right now I'd have to basically duplicate the code in TextField , but with my own Input component instead.
Read more >
ability to set text inputs on custom form fields through macros.
Feature request : ability to set text inputs on custom form fields through macros. ... We can currently set dropdown and checkbox values...
Read more >
<input>: The Input (Form Input) element - HTML
The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide...
Read more >
Text fields - Material Design
This demo lets you preview the text field component, its variations, and configuration options. Each tab displays a different type of text field....
Read more >
disable editing default value of text input - html - Stack Overflow
The question requires disabling editing part of the text. One solution I can think of is simulating a textbox with a fixed prefix...
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