flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/flutter_form_builder

[General]: Clear button as internal solution for forms

Open
#1,293 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
1.6k
Forks
561
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Package/Plugin version

9.1.0

### What you'd like to happen

```Markdown
Hello! :)

It would be great if the forms, that can use a clear button, would have an internal solution that could be set to on or off. That way it would be easier to handle the state of the form if it would be done internally.

It is already explained how to implement a clear button, but for a library this would be a good opportunity to offer an already implemented solution for this repeating problem.

As described in the material 3 styleguide: "Clear icons let users clear an entire input field. They appear only when input text is present." - If the input text is handled by the component itself, it would make sense that it also takes care of the clear feature.
```

### Alternatives you've considered

_No response_

### Aditional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.