FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
121 stars 18 forks source link

Lib component can't be selected when we set a widget builder param in consuming project #3992

Open nev-21 opened 3 days ago

nev-21 commented 3 days ago

Can we access your project?

Current Behavior

Lib components can't be selected (are not displayed) when the dropdown to select the widget param is opened.

Expected Behavior

Lib components should be selectable when setting a widget param.

Steps to Reproduce

  1. create a lib

  2. create a component B with a widget param, and put that widget param on its widget tree

  3. create a component C, with a hello world text

  4. publish the lib

  5. create a project

  6. create a new component X, and put component B inside

  7. in the B component, open the widget param selection

  8. component C doesnt appear in the dropdown

Reproducible from Blank

Bug Report Code (Required)

IT4slPHl/Yt2rupI17Xyb8Jr/TosC1w7bZIOscpCbw4bIYj2P4lzY876PhdBTfG+Y3xifGCcp14x0fDujYaSMPdcBzWbf4By+qpuchbddzmlVqmTF7maT0B7I+NjIGqC58GVuSJ/BLFYWFlg3V6qJvOWcHTtHrq2Imo4Sq/LZO4=

Visual documentation

https://github.com/user-attachments/assets/a1f54790-366d-45b4-83e3-6da00c74fdc8

Environment

- FlutterFlow version: 5.0.2+
- Platform: web
- Browser name and version: chrome 129.0.6668.90 
- Operating system and version affected: win 11

Additional Information

Project bug code: IT4slPHl/Yt2rupI17Xyb8Jr/TosC1w7bZIOscpCbw4bIYj2P4lzY876PhdBTfG+Y3xifGCcp14x0fDujYaSMPdcBzWbf4By+qpuchbddzmlVqmTF7maT0B7I+NjIGqC58GVuSJ/BLFYWFlg3V6qJvOWcHTtHrq2Imo4Sq/LZO4=

Lib bug code: IT4glPHl8Yt2rupI1rrUcO9aiWUvNk82aIc0sd4bGA0dCJzuPLMQdvWlYVVpUsemT1ViO0Smmk40+vzQvdriUsYCJUybf6E+ws5ucQ7LeFule5OBEriSOnNCEdpbfxWA5MPY3whdCPViZXwe3UyLfeuiQj7vK7H7IndISq/LZO4=

nev-21 commented 3 days ago

I have noticed this also happen with component in consuming project:

I mean, no matter where compB is defined (proj or lib), when you want to set a widget param you can't select a lib comp.

Alezanello commented 3 days ago

Hello!

I was able to reproduce the issue without any trouble. Thank you so much for the clear explanation and the video—it really helped me pinpoint the problem quickly!

I'll pass this ticket along to the engineering team for a fix.

leighajarett commented 2 days ago

This issue has been resolved and should be in today's release!

nev-21 commented 2 days ago

Thank you!

nev-21 commented 23 hours ago

Hello @leighajarett @wenkaifan0720, the lib components now can be select, but now the app Crash!

We can't work, it is useless to be able to select a libcomp if the app breaks at compile time!

Should I make a new issue, or you can reopen this issue? .

image

wenkaifan0720 commented 23 hours ago

Hi @nev-21. Sorry for the inconvenience. Could you provide another bug report code? I'll look into this. Looks like a missing import bug and should be easy to fix.

nev-21 commented 23 hours ago

Yes @wenkaifan0720 please help

Project bug report code: IT4slPHl/Yt2rupI17Xyb8Jr/TosC1w7bZIOscpCbw4bIYj2P4lzY876PhdBTfG+Y3xifGCcp14ywcrrkePEU8EnFzGsRZx9+JNuQzrJe3ynaYuTF7maT0B7I+NjIGqC58GVuSJ/BLFYWFlg3V6qJvOWcHTtHrq2Imo4Sq/LZO4=

Lib bug report code: IT4glPHl8Yt2rupI1rrUcO9aiWUvNk82aIc0rNlud0wdCeOoOrAqP8+lYVtWWOqHenw/AVX9kmI0pM7UiuHAFfIENTSbQYR51LlbUxDjVkiRbqqqPpCWeEclAftnJ0zF5rSs3RRABOt1c0Jn7Waue/CQa3qCf9qOYwx5e6fDbOY=