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.

How to reset Picker

See original GitHub issue

Hello. I need to dynamically pass options to new Picker(), e.g. locale or theme. So on options change I need Picker to render with new options. How can I reset/reinitialize it? Thanks.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EtienneLemcommented, Jul 28, 2022

@EtienneLem thank you! But the i18n and locale props are still static, could you make them reactive as well?

Right, yes that can be done

0reactions
robawebcommented, Jul 28, 2022

@EtienneLem thank you! But the i18n and locale props are still static, could you make them reactive as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

react native - Reset a selectpicker by clicking on a button
I created a functional component and I'm trying to reset or unselect a select picker by clicking on a button, I tried to...
Read more >
Reset picker - Expo Snack
Reset picker. No description. Open with Expo Go. Open in editor. Need Expo? Don't have the Expo Go? Download the app to try...
Read more >
How to reset a date picker after form submission #8100 - GitHub
Using e.target.reset(); works for all fields I have except the date picker. I have tried setValue(tripDate, ""); and reset({ .
Read more >
How to Reset Power Apps Date Picker - EnjoySharePoint
OnSelect = Reset(SelectDate_DatePicker);. Where SelectDate_DatePicker is the name of the DatePicker control name.
Read more >
Reset People Picker field - Power Platform Community
Is it possible that when the user clicks into the field itself and it resets to blank? Or do i have to have...
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