I want to pass textfield values when user press enter key from keyboard. In onChange() event, I am getting the value of the textbox, but How to get this value when enter key is pressed ?   Code:  import TextField from 'material-ui/TextField';...
i using material-ui datepicker component with redux form. It looks amazing by i have a little issue here. When i change the date it appears in my input field as yyyy-mm-dd. I want to change it so as to appear as dd-mm-yyyy. The datepicker has a prope...
I start to study material-ui and create a simple app in the SandBox:  https://codesandbox.io/s/eager-ride-cmkrc  The style of jss is unusual for me, but if you help me with these two simple exercises, then I will understand everything.  First: I want...
Tabs from material-ui are unclickable. Nothing happens then i click on them. Code is just simple:   `var Tabs = React.createClass ({    render: function() {      return (         <Tabs>             <Tab label="1">               &l...
As per Material Design guidelines:     Upon scrolling, the top app bar can […] transform in the following ways:   - Scrolling upward hides the top app bar   - Scrolling downward reveals the top app bar   When the top app bar scrolls, its elevation...
When creating a theme for colors with Material-UI, I set contrast text to white (#fff). It is working for the button with primary color, but not secondary.  Tried overrides as described here: Material UI: Unable to change button text color in theme....
I am trying to use recharts to implement a BarChart. But the width={600} and height={300} causes the Barchart to be absolute, not responsive. How to make the Barchart a responsive one? I tried using percentage as width={'50%"} height={"40...
When I go to migrate material-ui from version 3.9.3 to version 4.3.2 in my React Application, I get an error like TypeError: styles_1.createGenerateClassName is not a function.   I'm completely confused on how to migrate to Material UI V4. What a...
I'm having a bit of difficulties with the theming in Material-UI when it comes to coloring elements. Some elements automatically choose 'theme.palette.main.dark'. I want to know how to force them not to.  For instance the TextField and Sp...
I would like to display a number of the component Star (material-ui component) based on the number of points the user has earned (this.state.points).  I don't know how to do this.  import React, { Component } from "react"; import { Star }...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.