Open hakimLyon opened 2 years ago
looks like we're setting it on creation and never set it to anything else - i've file an internal ticket
Bump.
lastModified
is one last missing piece of instance properties of a File()
object.
I'm sending it alongside the file as a hidden input state, but if anyone has a better workaround, I'm interested.
<input
type="hidden"
name="lastModified"
value={lastModified ? new Date(lastModified).toISOString() : ''}
/>
What version of Remix are you using?
1.4.1
Steps to Reproduce
Expected Behavior
Actual Behavior