TextField type Number should not allow " +, -, e " in middle of number #20437
Labels
component: text field
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
support: Stack Overflow
Please ask the community on Stack Overflow
TextField type Number should not allow " +, -, e " in middle of number
Current Behavior 😯
When I entering numbers in TextField type number it is allowing minus(-), plus(+), and 'e' symbols but i am getting empty string instead of target value
// initial state value = "";
<TextField
id="standard-number"
label="Number"
type="number"
value={this.state.value}
onChange={(event)=> this.setState({ value: event.target.value }) }
/>
Expected Behavior 🤔
Number filed should not allow +, - & e in middle of any number
The text was updated successfully, but these errors were encountered: