Skip to content

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

@nev-21

Description

@nev-21

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 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

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

Bug Report Code (Required)

IT4kksmBw4tgrs9J1s/XbcBWhjsUNUgkTL03pu0bFEggGLbrBIYMacjRaltCTbyqdG9fKEWGuF0EwvD1v4f9C/oFNU6sGZRBzc9qdz3NTTu/aouVDpOoWnclBcFgGh2E0cCO3SMmLuh0Wngd12GYGdnJbDfrN5/4Zwh9f6PHaOI=

Visual documentation

validate_field.mp4

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=

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugstatus: confirmedIssue has been reproduced and confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions