I am using material ui textfield. I ran into problem where I Want to write a code where one textfield is dependent on other. Like if in textfield one i enter no 4, then number in textfield two should always be greater than 4.That means textfield two depends on textfield one. Please see code in code sandbox. https://codesandbox.io/s/textfield-with-outline-color-forked-8oj2z
<TextField
id="outlined-email-input"
label="Email"
className={classes.textField}
type="number"
defaultValue="0"
name="email"
autoComplete="email"
margin="normal"
variant="outlined"
/>
