fix warning about props (#3451)
This commit is contained in:
parent
e1244b4ea6
commit
3579513964
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user