Relative Content

Tag Archive for reactjsmaterial-ui

React Js unable to detect update in object

I have Dynamically generate select dropdown & I’m seting the value of drop down from key of a object when I select value from a drop down I update my object and object succesfully updated but my drop down doest not show the updated value in UI.

Datetime frequency selector in ReactJS/MUI

I’m trying to write a page (ReactJS, with Material UI) where a user can input a frequency for a certain task to be done. The user should be able to decide if the task should be done every:

how to apply MUI component theme?

For example, if I want to make my button have the same effect as the MUI Button, then I would like to apply all the classes from the MUI Button to my button tag. How should I do this? Not using styled. Nor using sx. Because using sx might involve writing a lot of CSS. Is there a simpler method?

Change border color of TextField on focused

I have a Dialog that receives a set of colors through props. According to this set of colors I need to set a border color for my Material UI TextField, but I can’t get it to work.