Pulled readonly toggle fix

Readnly would not function when toggled on and off.