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
but how shall we go about calling clearFiles from a parent component?
i.e. we have a form in the parent component which doesn't reload the page, therefore we need a way to call api.clearFiles from there.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey y'all, we've been trying to figure out how to clear FIleUpload from the consuming component.
We know that the following works within the component:
but how shall we go about calling
clearFiles
from a parent component?i.e. we have a form in the parent component which doesn't reload the page, therefore we need a way to call
api.clearFiles
from there.Beta Was this translation helpful? Give feedback.
All reactions