Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide the clear button? #119

Open
mrgithub opened this issue Jul 10, 2021 · 2 comments
Open

How to hide the clear button? #119

mrgithub opened this issue Jul 10, 2021 · 2 comments

Comments

@mrgithub
Copy link

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

@ghost
Copy link

ghost commented Sep 14, 2021

pass in InputDecoration

@leonardo2204
Copy link

@mrgithub simply set resetIcon to null:

DateTimeField(resetIcon: null,)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants