@@ -464,7 +464,7 @@ class _AddBookScreenState extends State<AddBookScreen> {
464464 controller: _titleCtrl,
465465 hint: LocaleKeys .enter_title.tr (),
466466 icon: Icons .book,
467- keyboardType: TextInputType .name ,
467+ keyboardType: TextInputType .text ,
468468 autofocus:
469469 (widget.fromOpenLibrary || widget.editingExistingBook)
470470 ? false
@@ -478,7 +478,7 @@ class _AddBookScreenState extends State<AddBookScreen> {
478478 controller: _subtitleCtrl,
479479 hint: LocaleKeys .enter_subtitle.tr (),
480480 icon: Icons .book,
481- keyboardType: TextInputType .name ,
481+ keyboardType: TextInputType .text ,
482482 maxLines: 5 ,
483483 maxLength: 255 ,
484484 textCapitalization: TextCapitalization .sentences,
@@ -491,7 +491,7 @@ class _AddBookScreenState extends State<AddBookScreen> {
491491 controller: _authorCtrl,
492492 hint: LocaleKeys .enter_author.tr (),
493493 icon: Icons .person,
494- keyboardType: TextInputType .name ,
494+ keyboardType: TextInputType .text ,
495495 maxLines: 5 ,
496496 maxLength: 255 ,
497497 textCapitalization: TextCapitalization .words,
@@ -583,10 +583,8 @@ class _AddBookScreenState extends State<AddBookScreen> {
583583 controller: _isbnCtrl,
584584 hint: LocaleKeys .isbn.tr (),
585585 icon: FontAwesomeIcons .i,
586- keyboardType: TextInputType .number,
587- inputFormatters: < TextInputFormatter > [
588- FilteringTextInputFormatter .digitsOnly
589- ],
586+ textCapitalization: TextCapitalization .characters,
587+ keyboardType: TextInputType .text,
590588 maxLength: 20 ,
591589 ),
592590 ),
0 commit comments