add setInputEnabled