FlutterFlow / flutterflow-issues

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

Can't save a custom action #2029

Closed Milvkim closed 11 months ago

Milvkim commented 11 months ago

Has your issue been reported?

Current Behavior

Hi, I tried to save a custom action and it doesn't work. I have the pop-up when i click the save action "confirm save" but then nothing happen and it is not appearing in the custom action.

Expected Behavior

To find the action in custom action and to be able to apply it in the "action flow editor"

Steps to Reproduce

1 in custom code 2 press add button 3 select action 4 go to tab code Copilot 5 Rename action name 6 entered the action description 7 activate return value and set the type 8 add argument name and type 9 click on green button and see the code below 10 click on save action 11 confirm the pop up that i want to save 12 nothing happen and it is not saved

Reproducible from Blank

Bug Report Code (Required)

https://app.flutterflow.io/project/whotutorial-39d9v9?tab=customCode&customCodeTab=functions

Context

I can't save a custom action

Visual documentation

I don't have it sorry

Additional Info

No response

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:
hariprasadms commented 11 months ago

Hi @Milvkim - I did follow the above step but not able to reproduce the issue. Are you still facing the issue ? If yet, can you please create this in a new project and share the link or project bug report code ?

Milvkim commented 11 months ago

yes i'm still trying to save the custom action but still no't working, here his the link : https://app.flutterflow.io/project/whotutorial-39d9v9?tab=customCode&customCodeTab=actions

hariprasadms commented 11 months ago

I just created a custom action in above given project. I can save the code. See below.

https://github.com/FlutterFlow/flutterflow-issues/assets/17435678/676aeab7-7a5e-4baf-8311-7a14992d1b20

Milvkim commented 11 months ago

You are going to fast for me ! I'm a begginer here :D but you can save customaction wich means i'm doing something wrong.. i'm sending you screenshot so maybe you could see what is done wrong, thanks customAction1 customAction2 customAction3 customAction4

hariprasadms commented 11 months ago

I think you are not clicking copy action button and save action, once code is generated in code copilot.

I can see the custom action you created in your same project.

image

Please follow this video - https://www.youtube.com/watch?v=rKaD9eKuZkY Custom actions Doc - https://docs.flutterflow.io/customizing-your-app/custom-functions/custom-actions

Milvkim commented 11 months ago

Thanks! it was the issue..