Add readonly boolean attribute to text inputs