datetime_picker_formfield icon indicating copy to clipboard operation
datetime_picker_formfield copied to clipboard

How to hide the clear button?

Open mrgithub opened this issue 4 years ago • 2 comments

I don't want the user to be able to clear the form using the suffix button 'X.' How do I hide/disable this?

mrgithub avatar Jul 10 '21 02:07 mrgithub

pass in InputDecoration

ghost avatar Sep 14 '21 06:09 ghost

@mrgithub simply set resetIcon to null:

DateTimeField(resetIcon: null,)

leonardo2204 avatar Dec 10 '21 14:12 leonardo2204