fixes for editing records and readonly inputs