Synced disable and readOnly state to DOM elements