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.

[SelectField] does not affect touched

See original GitHub issue

Are you submitting a bug report or a feature request?

Bug(?). I’m currently working with material-ui and redux-form and I have validation on my SelectField. Basically I more or less copied the renderSelectField from this example.

What is the current behavior?

meta: { touched } does not change when change value of the select fields

What is the expected behavior?

touched should be true when selecting a field

What’s your environment?

Version: latest Browser: Chrome OS: Mac

Other informations

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
gmlnchvcommented, Mar 22, 2017

Using touchOnChange: true on the reduxForm seems to work fine with selects in my case.

0reactions
lock[bot]commented, Dec 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SelectField] does not affect touched · Issue #2580 - GitHub
I was not using material-ui, I was just rendering a plain HTML select. On the select element, I defined onChange={(e) => input.
Read more >
Sencha Touch selectfield change event not ... - Stack Overflow
Sencha Touch selectfield change event not working with different value but same text ; Hello, I think you should fix formatting of your...
Read more >
@commercetools-uikit/async-select-field - npm
Indicates whether the field was touched. Errors will only be shown when the field was touched. aria-label, AsyncProps['aria-label'], Aria label ...
Read more >
Sencha Touch selectfield change event not working with ...
Sencha Touch selectfield change event not working with different value but same text. http://stackoverflow.com/questions/28924348.
Read more >
Default option in select field is not working - Prismic People
I have a background select field with two options - white and dark. The "white" option is the default one. I expect that...
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