Skip to content
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

QuickChoice - Controlling Value Picklist Field - Literal value not accepted after edit #1515

Open
honestmondayJS opened this issue Feb 1, 2024 · 3 comments

Comments

@honestmondayJS
Copy link

honestmondayJS commented Feb 1, 2024

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a screen flow with two quick choice picklists
  2. Set the 2nd picklist up as dependent picklist and add the value ({!xxx.value}) from the other picklist. On the first time it works.
  3. Save flow and then try to edit the value from Controlling Value (Picklist Field) again
  4. Error on field is thrown: This Flow doesn't have a defined resource with that name. If you're trying to enter a literal value, don't use {!}

Expected behaviour

The field should accept the value also on edit o

Actual behaviour

See screenshot. Value with {!xxx.value} will not be accepted anymore

Screenshots

image

@honestmondayJS honestmondayJS changed the title *QuickChoice* - _({!Controlling Value Picklist Field})_ - Literal value not accepted after edit *QuickChoice* - Controlling Value Picklist Field - Literal value not accepted after edit Feb 1, 2024
@honestmondayJS honestmondayJS changed the title *QuickChoice* - Controlling Value Picklist Field - Literal value not accepted after edit QuickChoice - Controlling Value Picklist Field - Literal value not accepted after edit Feb 1, 2024
@ericrsmith35
Copy link
Collaborator

Try clicking a different component on the same screen before you try and edit the QuickChoice component and see if that makes any difference.

@honestmondayJS
Copy link
Author

Hi @ericrsmith35
I tried again with clicking away, which does not help in my case.
What I found out is a that the problem is based on the section layering I am using. If I place the quickchoice component in a section, then I only see the section as value but not the component anymore:
image

If I place the quickchoice components then outside, close and reopen the screen again, then the component appears as selectable:
image

@ericrsmith35
Copy link
Collaborator

@adwhite75 @alexed1 Any ideas as to why being in a section would cause this behavior? Anything we can do to QuickChoice to avoid the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants