Use readOnly attribute