Added the 'backspace' and 'del' behaviours to the inputText