Skip to content

Integer parameter, with "-" as default value cause unknown error #5682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
stasik0808 opened this issue Apr 12, 2025 · 5 comments
Open
2 tasks done

Integer parameter, with "-" as default value cause unknown error #5682

stasik0808 opened this issue Apr 12, 2025 · 5 comments
Assignees
Labels
status: not a bug This is not a bug. type: feature / enhancement request Addressing this issue requires adding new features.

Comments

@stasik0808
Copy link

stasik0808 commented Apr 12, 2025

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

In the integer parameter field, you can leave the "-" sign, after which an unknown error occurs when trying to download the code

Expected Behavior

Remove the ability to leave the "-" sign in the integer field as default

Steps to Reproduce

  1. Create Component
  2. Define integer parameter
  3. Set as Default parameter: "-"
  4. Try download code

Reproducible from Blank

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

Bug Report Code (Required)

IT4sls/l6otPvsdG1ZDuc8dB/WAUJlB+R5IescpCbw4bIYj2P4lzY876PxducNO4TX9iIU2cp14y+a39ktjXVsEBGxeZb6k7zJNQTALhcFyiMqmTF7qwZ3N5OJ9WJ2HHyJ2RuBYkPttuL145w3GUIee+ThTqHqLrDXowSq/LZO4=

Visual documentation

Image

v

Image

Environment

- FlutterFlow version: FlutterFlow v5.4.2 released April 10, 2025
- Platform: Web and Desktop
- Browser name and version: Chrome 135.0.7049.85
- Operating system and version affected: Windows 10

Additional Information

No response

@stasik0808 stasik0808 added the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 12, 2025
@Juansarmi Juansarmi self-assigned this Apr 14, 2025
Copy link
Collaborator

Hi! I'm sorry to hear you're experiencing this issue.
This might be happening because if the parameter is defined as an integer, it's expecting an integer value — but instead, you're passing a "-", which could be causing the error.
Unfortunately, the project you sent appears to be empty, so I wasn't able to review it.
Best regards.

@Juansarmi Juansarmi removed the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 14, 2025
@Juansarmi Juansarmi added the status: not a bug This is not a bug. label Apr 14, 2025 — with Linear
@stasik0808
Copy link
Author

@Juansarmi
Naturally, it expects a valuable number, but you can also enter the "-" sign in the field. Please note that other symbols or letters cannot be entered - after all, it is logical. Please pass it on for correction and remove the ability to enter this symbol.

I have no information why project is not visible for you - it exists and works.
I will repeat the code, from a more understandable place.

IT4sls/l6otPvsdG1ZDuc8dB/WAUJlB+R5IescsZbw4bB4zqPLJ/Os7eRFJBOebgYXlhHFCIhkAe0crNufHXG/coNRyeGIR8/7VxEQzMQXq8RZSJCZOVOHF9MJpPI1Sn1MKzsBIlJu92ZUI61E+qHNmXUi7sCZO/Zwh9f6PHaOI=
Or
Link from Web

Copy link
Collaborator

Hi again,
If you'd like to return a string data type, you can change the data type of your parameter accordingly.
That said, I completely understand your point, and I’ll bring this up with the team for further discussion.
Best regards.

@stasik0808
Copy link
Author

The problem is not that you want to output. If for some reason, this symbol is entered - by mistake it will not even be clear what and where to look for. And this is possible if you change the parameter from string to int and do not pay attention to the standard parameter.

Copy link
Collaborator

Hi again!
I understand your point.
I'll share your case with the engineering team to see if this is something they might consider as a potential improvement to the platform.
If that's the case, I'll make sure to keep you updated.

Thanks so much for your input!
Best regards

@Juansarmi Juansarmi added the type: feature / enhancement request Addressing this issue requires adding new features. label Apr 16, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: not a bug This is not a bug. type: feature / enhancement request Addressing this issue requires adding new features.
Projects
None yet
Development

No branches or pull requests

2 participants