You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A clear and concise description of what you expected to happen.
The code should produce <input spellcheck="false" placeholder="10" step="any" type="number" title="" id="radix-:r2n:" name="number" class="rt-reset rt-TextFieldInput">
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
Python Version: Python 3.11.5
Reflex Version: 0.5.10/ 0.6.0a1
OS:
Browser (Optional):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@ElijahAhianyo it looks like rx.input inherits from rx.el.Div - should we instead make it subclass rx.el.Input? I don't remember why we didn't, is it because the Radix input doesn't support all the props of a normal input?
Describe the bug
A clear and concise description of what the bug is.
rx.input does not support the step attribute
step attribute:
https://www.w3schools.com/tags/att_input_step.asp
To Reproduce
Steps to reproduce the behavior:
rx.input(type="number",step="any",placeholder="10" )
The above code produces:
<input spellcheck="false" placeholder="10" type="number" title="" id="radix-:r2n:" name="number" class="rt-reset rt-TextFieldInput">
Expected behavior
A clear and concise description of what you expected to happen.
The code should produce
<input spellcheck="false" placeholder="10" step="any" type="number" title="" id="radix-:r2n:" name="number" class="rt-reset rt-TextFieldInput">
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: