I have the readonly input when after click on pencil can user edit inputs. When user click on \'X\' button, I want to revert changes and save the old data in input.
I