required, readOnly, disabled : add a boolean parameter. If false, doesnt set the attribute