Comments (2)
Hi @JerryBels
In the above snack example, radioButtonsData has changed but reference is same, due to which the react doesn't render. One of the way to update the reference is to use spread operator (...)
replace
setRadioButtons(radioButtonsData);
with
setRadioButtons([...radioButtonsData]);
I hope this was helpful.
Thanks
from react-native-radio-buttons-group.
Thank you @ThakurBallary it was really helpful, and thanks for the great module :)
from react-native-radio-buttons-group.
Related Issues (20)
- Styling the radio group? HOT 1
- Implement colour change
- radio group can not set label text color HOT 2
- Accesibility is missing HOT 5
- Mutates original object HOT 1
- How to align left the radio button HOT 5
- How to Change borderColor HOT 3
- Background image in Label HOT 3
- RadioGroup How to change Style Radio Button and Text label HOT 3
- text color is not getting apply HOT 1
- Typescript issue with lodash function HOT 5
- multi select HOT 2
- No option to change font size HOT 1
- borderColor and color props not working HOT 1
- No support for testID on button HOT 1
- onPress called with button ID
- 'selected' is not working
- Color prop not used HOT 1
- Touch area is too small or unconfortable. HOT 1
- borderColor and labelStyle props are not working. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-radio-buttons-group.