survey-library icon indicating copy to clipboard operation
survey-library copied to clipboard

choicesFromQuestion in panel generated by paneldynamic not working

Open masciugo opened this issue 3 years ago • 5 comments

Are you requesting a feature, reporting a bug or asking a question?

bug

What is the current behavior?

It seems that, while using choicesFromQuestion, I cannot point a question belonging to a panel generated by a paneldynamic

What is the expected behavior?

Being able to use panel.myQuestion in choicesFromQuestion as I do in expressions, visibleIf, etc. I would expect the same be behavior with matrixdynamic

How would you reproduce the current behavior (if this is a bug)?

https://plnkr.co/edit/ZTzZX0FVieZRF7gA

many thanks

masciugo avatar Apr 21 '22 11:04 masciugo

@masciugo Yes, I am adding it into our TODO list.

Thank you, Andrew

andrewtelnov avatar Apr 21 '22 12:04 andrewtelnov

Hi, Could you please give any update on this? I don't well know how sprint progress works but this issue resolution seems not on the way anymore.. Am I wrong? Thank a lot

masciugo avatar May 23 '22 15:05 masciugo

@masciugo The problem that you are the only who requested it so far and it requires some code re-writting. We are always find something more important to work for. I am sorry about it. You can always solve this issue by using another approach. You will need to copy choices, but it will work.

Thank you, Andrew

andrewtelnov avatar May 23 '22 17:05 andrewtelnov

@andrewtelnov I'm sorry if I gave the impression of putting pressure. I just wondered what was going on. As you labeled this issue as enhancement I had already found a workaround since then, or to be honest, I had to change my survey model strategy. However, I think this is a kind of bug. I mean, the way you point another question should be homogeneous: I expect the panel. syntax work in any place where you can point another question. But this just my humble opinion, as always given with the intention of improving this great lib. Thanks

masciugo avatar May 24 '22 10:05 masciugo

@masciugo Yea, we can handle it on survey library level, it will be hard to implement it in Creator. Anyway, it is in our Backlog.

Thank you, Andrew

andrewtelnov avatar May 25 '22 15:05 andrewtelnov

Hello @masciugo, Please note that with v1.9.103 and newer, we supported copying choices from Dynamic Matrix rows and Dynamic Panel's fields. Now, you can easily configure your dropdown to copy choices from a Dynamic Matrix question using the following settings:

For more information, please refer to the following release note: Populate choices with values from Dynamic Matrix or Dynamic Pane.

Should you have any questions or require further assistance, we are here to help.

JaneSjs avatar Aug 24 '23 12:08 JaneSjs

Hi @JaneSjs thank you for implementing this new feature and, above all, for letting me know. I actually ask for this more than one year ago so I am very happy that was implemented.

thank you all

masciugo avatar Aug 24 '23 14:08 masciugo