added degradation to text input for custom input type handlers