change text field

merge-requests/773/head
Elham Rababh 5 years ago
parent c3ed212e6a
commit eabe16a1d3

@ -104,7 +104,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
widget.height != 0 && widget.maxLines == 1
? widget.height - 22
: null,
child: TextField(
child: TextFormField(
textAlign: projectViewModel.isArabic
? TextAlign.right
: TextAlign.left,
@ -129,7 +129,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
? widget.inputFormatters
: [],
onChanged: (value) {
setState(() {});
// setState(() {});
if (widget.onChanged != null) {
widget.onChanged(value);
}

Loading…
Cancel
Save