ElemeFE / ElemeFE/element-react

[pattern] property for Input doesn't work!

Open
#863 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description

I want an input that shows price when user focuses on it in mobile, it triggers numpad of the phone not the whole of keyboard.
But as I want to seprate price like this: 234,000 I cant set type="number", because in number mode it cant handle string as input value.
I need pattern proprty for Input to first it handle comma in price and also trigger numeric keypad of mobile phones.

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.