added isText option, can now handle non numeric input in TextInput