Adding FileUpload control and updated related components
This commit is contained in:
@@ -266,6 +266,7 @@ def post(session, b_id: str, values: dict):
|
||||
from myfasthtml.core.bindings import BindingsManager
|
||||
binding = BindingsManager.get_binding(b_id)
|
||||
if binding:
|
||||
return binding.update(values)
|
||||
res = binding.update(values)
|
||||
return res
|
||||
|
||||
raise ValueError(f"Binding with ID '{b_id}' not found.")
|
||||
|
||||
Reference in New Issue
Block a user