add isDisabled method for TextField