Minor bug for inputText demo fixed.