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

Add a "Clear this field" button #2771

Open
3 tasks
adrianthedev opened this issue May 15, 2024 · 0 comments
Open
3 tasks

Add a "Clear this field" button #2771

adrianthedev opened this issue May 15, 2024 · 0 comments
Assignees
Labels
Enhancement New feature or request Good first issue Good for newcomers Help wanted We could use some help with this Javascript Pull requests that update Javascript code UX

Comments

@adrianthedev
Copy link
Collaborator

adrianthedev commented May 15, 2024

Feature

We'd love to have the ability to clear fields in a consistent way.

Approach

  • add a clearable: true|false|block option to fields
  • the initial iteration will cover the base HTML fields (not the JS fields)
  • add it to the docs in field options (including which fields support it)

Similar to #2769

Current workarounds

Manually remove the data.

@adrianthedev adrianthedev added Enhancement New feature or request Help wanted We could use some help with this Good first issue Good for newcomers Javascript Pull requests that update Javascript code UX labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Good first issue Good for newcomers Help wanted We could use some help with this Javascript Pull requests that update Javascript code UX
Projects
Status: To Do
Development

No branches or pull requests

2 participants