reflex 0.7.7a1__py3-none-any.whl → 0.7.7a2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/components/el/elements/forms.py +8 -7
- {reflex-0.7.7a1.dist-info → reflex-0.7.7a2.dist-info}/METADATA +1 -1
- {reflex-0.7.7a1.dist-info → reflex-0.7.7a2.dist-info}/RECORD +6 -6
- {reflex-0.7.7a1.dist-info → reflex-0.7.7a2.dist-info}/WHEEL +0 -0
- {reflex-0.7.7a1.dist-info → reflex-0.7.7a2.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.7a1.dist-info → reflex-0.7.7a2.dist-info}/licenses/LICENSE +0 -0
|
@@ -460,15 +460,16 @@ class Input(BaseInput):
|
|
|
460
460
|
value_var.is_not_none(), value_var, Var.create("")
|
|
461
461
|
)
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
if cls is Input:
|
|
464
|
+
input_type = props.get("type")
|
|
464
465
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
if input_type == "checkbox":
|
|
467
|
+
# Checkbox inputs should use the CheckboxInput class
|
|
468
|
+
return CheckboxInput.create(*children, **props)
|
|
468
469
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
if input_type == "number" or input_type == "range":
|
|
471
|
+
# Number inputs should use the ValueNumberInput class
|
|
472
|
+
return ValueNumberInput.create(*children, **props)
|
|
472
473
|
|
|
473
474
|
return super().create(*children, **props)
|
|
474
475
|
|
|
@@ -136,7 +136,7 @@ reflex/components/el/elements/__init__.py,sha256=Ocexkpl7YRpdpL6YPsG_QgxYWO0dx1g
|
|
|
136
136
|
reflex/components/el/elements/__init__.pyi,sha256=uuwnUtPo4hPTByt8qzbdZT-_cOSPiTTaw5BXN2H2kpM,11129
|
|
137
137
|
reflex/components/el/elements/base.py,sha256=4jnwyCQUHvWcIfwiIWVCiIC_jbwZlkAiOgx73t7tdw8,3075
|
|
138
138
|
reflex/components/el/elements/base.pyi,sha256=QQ9ZvgJEH-0QnjEY7I9Rj4O4qVPAxt3mhx0UXHqZII8,10032
|
|
139
|
-
reflex/components/el/elements/forms.py,sha256=
|
|
139
|
+
reflex/components/el/elements/forms.py,sha256=_Q-_5PrS7L4JUopdy2x_2MMWULyg3FY_lQG4knHnLYw,21455
|
|
140
140
|
reflex/components/el/elements/forms.pyi,sha256=CC2bByXLm8bYj6TkSccapfgzOlyHdtin0z5lqiwD1ZE,168528
|
|
141
141
|
reflex/components/el/elements/inline.py,sha256=GxOYtkNm1OfdMeqNvrFY_AUm-SVdc4Zg4JdSf3V3S6g,4064
|
|
142
142
|
reflex/components/el/elements/inline.pyi,sha256=O9CSe9Cm-NzxLn64UtdnkosZyIgXfJcYGxLYlc-hEQA,231259
|
|
@@ -397,8 +397,8 @@ reflex/vars/function.py,sha256=2sVnhgetPSwtor8VFtAiYJdzZ9IRNzAKdsUJG6dXQcE,14461
|
|
|
397
397
|
reflex/vars/number.py,sha256=kgeC6zb7z4E9SLtYwiwRDxYIUhDYk4t5Yigs1aWFOqw,27941
|
|
398
398
|
reflex/vars/object.py,sha256=-fGqHThozjxAAuQL-wTwEItPiFI-ps53P2bKoSlW_As,17081
|
|
399
399
|
reflex/vars/sequence.py,sha256=zR3Gwi0xkypThKO45KGqu_AYruY1mTK8kmHjzXcm8y8,55289
|
|
400
|
-
reflex-0.7.
|
|
401
|
-
reflex-0.7.
|
|
402
|
-
reflex-0.7.
|
|
403
|
-
reflex-0.7.
|
|
404
|
-
reflex-0.7.
|
|
400
|
+
reflex-0.7.7a2.dist-info/METADATA,sha256=7DeJQBeWH-yy3tHrcdi37zKSU1amr_hVX5ZgHfj9TuY,11879
|
|
401
|
+
reflex-0.7.7a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
402
|
+
reflex-0.7.7a2.dist-info/entry_points.txt,sha256=Rxt4dXc7MLBNt5CSHTehVPuSe9Xqow4HLX55nD9tQQ0,45
|
|
403
|
+
reflex-0.7.7a2.dist-info/licenses/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
|
|
404
|
+
reflex-0.7.7a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|