Describe the bug
Create a rx.number_input component, and add the prop is_valid_character="/^[Ee0-9+-.]$/". (here the default value, but any value fails). An error is thrown when anything is entered into it.
To Reproduce
- Compile this app
import reflex as rx
def index() -> rx.Component:
return rx.number_input(is_valid_character='/^[Ee0-9+-.]$/')
app = rx.App()
app.add_page(index)
app.compile()
- Enter any character into the field, valid or invalid.
Expected behavior
The field should only accept correct input.
Screenshots

Specifics (please complete the following information):
- Python Version: 3.10.12
- Reflex Version: 0.3.2
- OS: Debian testing
Describe the bug
Create a
rx.number_inputcomponent, and add the propis_valid_character="/^[Ee0-9+-.]$/". (here the default value, but any value fails). An error is thrown when anything is entered into it.To Reproduce
Expected behavior
The field should only accept correct input.
Screenshots

Specifics (please complete the following information):