In one of my previous questions, I asked how I would approach populating a dropdown on my razor page by pulling info from the database. See my question here:
You can just delete this input attribute and then Files.VendorId
will bind the value of dropdown list successfully.