FlutterFlow / flutterflow-issues

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

Error message "value is not properly set" on non-required component parameters #4908

Open ercanyuz opened 3 hours ago

ercanyuz commented 3 hours ago

Can we access your project?

Current Behavior

This issue is almost identical to #1348. The ticket is closed as "fixed", but it is not. Flutterflow complains if a component parameter is not set, even when the parameter is set to be not required.

Expected Behavior

It should build without an error message.

Steps to Reproduce

  1. Create a component with a non-required parameter
  2. Use it in your page
  3. Leave parameter empty
  4. See the error "parameter not set properly"

Reproducible from Blank

Bug Report Code (Required)

ITFfzPHq24VIscsA14SJc+0w9TgROUccTL4zlO1HcxAYGO/yPbJ/OeClXBFCcNe5YWlhHFaZgj4zpqHTiuOWIOwpNQ2BG75MzKp2cAzwXXq8R8m7C7irOXcnRZlgfVCh07aF2gklIvhaV04g2nGmOOfIbHLYJ5+/Zwh9f6PHaOI=

Visual documentation

image

Environment

- FlutterFlow version: FlutterFlow v5.0.12 released November 15, 2024
Flutter version is 3.24.2
- Platform: Web
- Browser name and version: Chrome latest
- Operating system and version affected: MacOS Sequoia

Additional Information

No response

Alezanello commented 2 hours ago

I'm sorry, but I wasn't able to replicate the issue. I created two components that request parameters, none of which were marked as required.

In the first component (compX), I did not use the parameters, while in the second component (compY), I utilized the parameters within text widgets, with default values set in case the parameters were null. In both cases, it did not prompt me to fill in these values.

You can review it here: Project QA-3054