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
Experiencing the same issue. It's because of this line.
Turbo is understandably trying to handle the situation where a native view is dismissed and is returning to the webview. In this case, that's the camera, but it's in the middle of trying to apply the newly taken photo to the file upload input, so the form data gets wiped out.
In the meantime, I can confirm that adding the data-turbo-permanent attribute to the input (or one of its parents) will maintain the file selection. Perhaps that is the appropriate solution to this use case?
I saw there was another issue for this, but I can't resolve this by using another branch.
To reproduce:
Is there any insight how I can fix this or what is suddenly causing it?
The text was updated successfully, but these errors were encountered: