Comments (4)
I'd love to know how to re-populate the listItems in a SelectionBox at runtime. For example, the default options are {A, B, C}. How would I switch those options to {1, 2, 3, 4, 5, 6, 7} in response to some other event, like a button click? Just setting the listItems property doesn't seem to update the internal state properly, so I'm guessing there's more to it. Thanks!
from materialui.
Sure thing! I'll make one as soon as I can.
from materialui.
Hey geekoftheweek,
I've added a method to re-populate ListItems at runtime - I'll be adding an entry to the wiki and probably making a tutorial at some point, but for now you can find an example in /Examples/xx - SelectionBoxes.
Let me know if that's what you wanted.
Cheers!
from materialui.
Thank you, both for this update to the code and for the entire library -- it looks fantastic, and has been a huge help. Thank you!
from materialui.
Related Issues (20)
- Component: Dialogs
- Error within my game but not on seperate project? HOT 10
- EZAnim - Object reference not set to an instance of an object HOT 3
- Things don't work as expected when using 'Screen Space -Camera' render mode. HOT 9
- Button manual resize Isn't working ...? HOT 8
- Closed Dialogs / Nav Drawers Render Off Screen HOT 3
- RippleMask blocks input after ScreenConfig.Back is called HOT 1
- Can't Instantiate HOT 1
- Countdown Game - First experiement with this awesome asset HOT 3
- Close Selection Box HOT 3
- Android | Some itens of the screen are getting black when running on device. HOT 9
- Ripple effect draws outside of it's area HOT 2
- Moving MaterialUI Folder into Subfolder HOT 2
- System.IO.File' does not contain a definition forWriteAllBytes' HOT 8
- ArgumentException: The thing you want to instantiate is null HOT 2
- Resize switch HOT 1
- Switch change handle? HOT 6
- EZAnim can't be checked because doesn't exist HOT 3
- Menu Component/MaterialUI/(VARIOUS COMPONENTS) can't be checked because doesn't exist
- Use from the Unity Package Manager
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 materialui.