Description
Has your issue been reported?
- I have searched the existing issues and confirm it has not been reported.
- 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
Attempting to Duplicate a component with a Component level Action block via the right-click contextual menu 'Duplicate Component' option has no effect.
If you you remove the Component Level block - the Duplicate works.
If you add a Component Level block - it no longer can be duplicated.
I don't believe there's a reason why Component Action Blocks should not be duplicated (they are private for that component).
Expected Behavior
A duplicate Component should appear with the suffix ' Copy' along with any Component level blocks.
Steps to Reproduce
- Create new Project
- Create a new Component
- Add a Component Level Action Block called 'Test' with no inner action.
- New, try and duplicate the Component via the left Widget Tree, right-click and choose Duplicate.
Component will not duplicate.
- Remove the previously created Action Block called 'Test' and try the Duplicate again, and it will work.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
ITFTls/l6oZhouYC+KX5LMBGpCQQM0McWOdEl+tuZwgbIoznBuwhPszSRFtVUum/aVNcJGaguEcF3MHFj9r1DvQnPUitY5xy1pZuEgH0e2iiVbKXDLmefXBSJ5hjf0yl1J7VkwpTKspfL2wFwGCmB+euSjHDIuu/Zwh9f6PHaOI=
Context
Complex component duplication with essential Action Blocks cannot be reused as other components.
Ie: An editor template component with commonly used within the page Action Blocks cannot duplicate.
Visual documentation
Demonstration...
2024-01-18_11-45-29.mp4
Additional Info
No response
Environment
- FlutterFlow version: v4.0 released January 15, 2024 Flutter version is 3.13.7
- Platform: macOs Desktop
- Browser name and version: FlutterFlow App (Brave)
- Operating system and version affected: macOS Ventura 13.6.3