FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
129 stars 26 forks source link

Lib component with form field, can't be validated in consumer project #4074

Open nev-21 opened 3 weeks ago

nev-21 commented 3 weeks ago

Can we access your project?

Current Behavior

I have many library components that has textfield, checkbox, switch, etc. When I want to validate them in "form validation" the form fields doesn't appear.

Expected Behavior

form field within lib component should appear in form-validation to be validated.

Steps to Reproduce

  1. create a lib, create a component X, add textfield, publish the lib
  2. create project, import the lib
  3. in home page add a "form validation" widget, add lib component X to it
  4. check form validation, you can't validate the text field.

Reproducible from Blank

Bug Report Code (Required)

IT4kksmBw4tgrs9J1s/XbcBWhjsUNUgkTL03pu0bFEggGLbrBIYMacjRaltCTbyqdG9fKEWGuF0EwvD1v4f9C/oFNU6sGZRBzc9qdz3NTTu/aouVDpOoWnclBcFgGh2E0cCO3SMmLuh0Wngd12GYGdnJbDfrN5/4Zwh9f6PHaOI=

Visual documentation

https://github.com/user-attachments/assets/331aa84f-6f29-45a9-a16a-efeb3422842f

Environment

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

Additional Information

Project bug report code: IT4kksmBw4tgrs9J1s/XbcBWhjsUNUgkTL03pu0bFEggGLbrBIYMacjRaltCTbyqdG9fKEWGuF0EwvD1v4f9C/oFNU6sGZRBzc9qdz3NTTu/aouVDpOoWnclBcFgGh2E0cCO3SMmLuh0Wngd12GYGdnJbDfrN5/4Zwh9f6PHaOI=

Library bug report code: ITFfksmBw4tgofVA7ZSJauxGnjw4NjocTLkvjuphcz8YGIztBJh/fcnCVEtCcO29dFNhHFf8gn8F0fDLvuDpU/YCOTmCGqo+ybhqYA7wQXq8Rr6hOpGORER6O99gf1Cm4JmJ2iRSIbZoSnw9wGeUfN6XSnPDGZu/Zwh9f6PHaOI=

Alezanello commented 3 weeks ago

Hello Nev!!

I think is related to this issue also: https://github.com/FlutterFlow/flutterflow-issues/issues/3976

In this case it will be fixed in the next production release!

nev-21 commented 3 weeks ago

Hi @Alezanello

I checked and #3976 was fixed but this issue #4074 is still happening.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

nev-21 commented 1 week ago

Hi @Alezanello Wanted to see if there’s been any progress on the issue. Appreciate it!

Alezanello commented 1 week ago

Hello, and apologies for the delayed response. I’ll forward this to the engineering team for a fix, as I can confirm the issue is still present. Thank you for your patience!