support dynamic disabling of input