1
0
Thomas Brandého 11 сар өмнө
parent
commit
3579513964

+ 1 - 1
reflex/components/core/upload.py

@@ -230,7 +230,7 @@ class Upload(MemoizationLeaf):
             key: value for key, value in props.items() if key in supported_props
             key: value for key, value in props.items() if key in supported_props
         }
         }
         # The file input to use.
         # The file input to use.
-        upload = Input.create(type_="file")
+        upload = Input.create(type="file")
         upload.special_props = {
         upload.special_props = {
             BaseVar(_var_name="{...getInputProps()}", _var_type=None)
             BaseVar(_var_name="{...getInputProps()}", _var_type=None)
         }
         }