Changed CharFiled to TextField in model