Skip to content

Custom Widget: Selecting Action Callback Parameter always defaults to the first parameter #6921

@hubsense

Description

@hubsense

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I have created a Custom Widget that includes an Action parameter. This Action parameter has several defined arguments (e.g., emailId, from, subject, webUrl).

When using this widget in the UI builder and defining the Action Flow, I attempt to use the Callback Parameters provided by the custom widget. When I open the variable selection menu and click on a specific parameter (e.g., webUrl), the system erroneously selects the first parameter in the list (e.g., emailId) instead of the one I clicked. This happens regardless of which parameter in the list I attempt to select; it always defaults to the top item.

Expected Behavior

When I click on a specific parameter (e.g., webUrl) within the "Callback Parameters" list in the variable picker, that specific variable should be selected and assigned to the action argument.

Steps to Reproduce

  1. Create a new Custom Widget.
  2. In the "Define Parameters" tab, add a parameter of type Action (e.g., named onRefer).
  3. Inside this Action parameter, add multiple arguments (e.g., emailId [String], webUrl [String], etc.).
  4. Compile the widget and add it to a Page.
  5. Select the widget and open the Actions panel.
  6. Add an action to the onRefer trigger (e.g., a "Navigate To" or a Custom Action).
  7. In the Action arguments, attempt to Set a Variable.
  8. In the variable source menu, go to Callback Parameters.
  9. Click on the last item in the list (e.g., webUrl).
  10. Observe that the variable set is actually the first item in the list (emailId), not the one clicked.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4wlcn15ZNOmNxE7pCBYMFWgWI4Mjp7a687icJ9Qis8JJToPLAUZ8zBM05vZry5YX9AM2eGoGY1/Pfqi9jPEvYqKUmWG6Jf+s9cZgzJeDi5WpCyCaWZfW1fP+VgIWaa17aZgQp5OtRscU4TwHGle/KiQXTDGOexDkVAG86LJdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Screen.Recording.2026-02-11.at.18.09.22.mov

Environment

- FlutterFlow version: v6.5.12
- Platform: Web Editor
- Browser name and version: Chrome 144.0.7559.133
- Operating system and version affected:  Tahoe 26.1

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions