Skip to content

Underscores allowed in Data Type fields but convert to camel case automatically...which then breaks custom functions. #5697

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
chuggmuffinReturns opened this issue Apr 16, 2025 · 1 comment
Assignees
Labels
status: duplicate This issue already exists.

Comments

@chuggmuffinReturns
Copy link

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

https://www.tella.tv/video/camel-case-conundrum-5a6w

I tried naming a data type variable remX_body_m

However, that got converted...

remX_body_m => remXBodyM

...which is fine except that it breaks custom function code.

There area a ton of restrictions in DT and enum names already.

Why allow underscores when it ends up breaking the code?

Expected Behavior

Not allow anything that breaks code automatically

Steps to Reproduce

see vid

Reproducible from Blank

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

Bug Report Code (Required)

IT4Khcj1z5VNobhe0LruY8dFtCAsH0AnarsWlsFEaxA3NYCtG7l/W8/RaklWUs+0T1FYfWakgjsew83emvP9Ju5fIQeCG7Z+zod2dgvKezmXaYyYPM/oOG5/AptPGky14aWzughQVfFvdFFg31OEAvOsYArAHuPBDmwzRMi1IZCK2SrDX1iXc2URm05KZDPz

Visual documentation

https://www.tella.tv/video/camel-case-conundrum-5a6w

Environment

FlutterFlow v5.4.2 released April 10, 2025
Flutter version is 3.27.3

Additional Information

No response

@chuggmuffinReturns chuggmuffinReturns added the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 16, 2025
@chuggmuffinReturns chuggmuffinReturns changed the title Underscores allowed in Data Types but convert to camel case automatically...which then breaks custom functions. Underscores allowed in Data Type fields but convert to camel case automatically...which then breaks custom functions. Apr 16, 2025
Copy link
Collaborator

Hi! I'm sorry to hear you're experiencing this issue.
This error has been reported previously.
It's related to the naming conventions in FlutterFlow, and you can find some dos and don'ts at the following link:
https://docs.flutterflow.io/resources/style-guide/#function-naming-conventions.
My recommendation is to use camelCase.

Best regards

@Juansarmi Juansarmi self-assigned this Apr 16, 2025
@Juansarmi Juansarmi removed the status: needs triage A potential issue that has not been confirmed as a bug. label Apr 16, 2025
@Juansarmi Juansarmi added the status: duplicate This issue already exists. 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: duplicate This issue already exists.
Projects
None yet
Development

No branches or pull requests

2 participants