For some of my components I would like to change input field readonly and required attributes back and forth.
I\'ve managed to get a running code, that changes both of