at the end, do that outside of the let which binds all the search state.
Attach a file by drag & drop or click to upload