react-lightning-design-system icon indicating copy to clipboard operation
react-lightning-design-system copied to clipboard

Input symbolPattern attribute is not functional in 2.5.4

Open pozil opened this issue 7 years ago • 0 comments

If I understood correctly, the purpose of the symbolPattern attribute of the Input component is to prevent unwanted input based on a regex.

I am trying to replicate the behavior of a standard HTML input with type=number so I am using symbolPattern="\d*" . However, I can still input non-digit characters. Did I miss anything or is this a bug?

By the way, thanks for this great project.

pozil avatar Dec 26 '17 19:12 pozil