Can we access your project?
Current Behavior
When the TextField Update Delay is set to 2000ms, quickly entering values into multiple repeated component instances only updates one or a few fields. Some callbacks never fire.
Setting Update Delay to 0 fixes the issue.
The generated Dart appears to use the same debounce key for every repeated component instance:
EasyDebounce.debounce(
'_model.countTextController',
Duration(milliseconds: 2000),
() async {
await widget.pOnChanged?.call(...);
},
)
Because every repeated component instance uses the same debounce key string, typing in one field can cancel the pending delayed callback from another field. The unique widget/component key does not appear to make the debounce key unique.
Expected Behavior
Repeated component instances should not cancel each other’s delayed TextField callbacks. The debounce key should include something instance-specific, such as the widget key or component instance key.
Workaround:
Set TextField Update Delay to 0, but that removes debounce behavior entirely.
Better generated code would include something instance-specific, roughly like:
'${widget.key}_countTextController'
Steps to Reproduce
I have a reusable component named cashCount.
The component has a TextField named count.
The TextField has an On Change action that executes a component callback.
The parent page shows this component in a generated list/wrap from page state.
Each component instance has a unique key, using Index in List.
The callback updates the matching list item in page state.
Reproducible from Blank
Bug Report Code (Required)
ITFfz/Hqx89goctH176JbcdGmmYWC2kcTL4zlO1HcxAYGO/yPbJ/YeLSV1tWXtehTGlhHE2ijngDw6nrhYSSFfo5PQ2WGqE4ybh2UAL/d3q8RravEpaWWEEkP5pjFUi7y52R2hRRCLdaW3g93WGQefC8VjHrN5O/Zwh9f6PHaOI=
Visual documentation
Environment
- FlutterFlow version: 6.6.107
- Platform: web
- Browser name and version: chrome ersion 148.0.7778.168 (Official Build) (arm64)
- Operating system and version affected: macOS 15.7.3 (24G419)
Additional Information
No response
Can we access your project?
Current Behavior
When the TextField Update Delay is set to 2000ms, quickly entering values into multiple repeated component instances only updates one or a few fields. Some callbacks never fire.
Setting Update Delay to 0 fixes the issue.
The generated Dart appears to use the same debounce key for every repeated component instance:
Because every repeated component instance uses the same debounce key string, typing in one field can cancel the pending delayed callback from another field. The unique widget/component key does not appear to make the debounce key unique.
Expected Behavior
Repeated component instances should not cancel each other’s delayed TextField callbacks. The debounce key should include something instance-specific, such as the widget key or component instance key.
Workaround:
Set TextField Update Delay to 0, but that removes debounce behavior entirely.
Better generated code would include something instance-specific, roughly like:
'${widget.key}_countTextController'
Steps to Reproduce
I have a reusable component named cashCount.
The component has a TextField named count.
The TextField has an On Change action that executes a component callback.
The parent page shows this component in a generated list/wrap from page state.
Each component instance has a unique key, using Index in List.
The callback updates the matching list item in page state.
Reproducible from Blank
Bug Report Code (Required)
ITFfz/Hqx89goctH176JbcdGmmYWC2kcTL4zlO1HcxAYGO/yPbJ/YeLSV1tWXtehTGlhHE2ijngDw6nrhYSSFfo5PQ2WGqE4ybh2UAL/d3q8RravEpaWWEEkP5pjFUi7y52R2hRRCLdaW3g93WGQefC8VjHrN5O/Zwh9f6PHaOI=
Visual documentation
Environment
Additional Information
No response