Why is my form prefilling with the selected row of my table?

Please also keep in mind that text inputs cannot be null. They will default to an empty string instead of null. More info on that here