added readonly and disabled to the component attributes