Editors.SelectionVariables in version 137

Hello,



It used to be possible to name variables obtained from the UI via the "type=Editors.SelectionVariables" annotation anything you wanted.


Now, the variable MUST be called "Variable". Not only does this break prior code segments, but it also prohibits multiple variables collected from the UI. 


This used to work:

    @Parameter()
    @Help("Choose variable to which you want to assign some value")
    @Editor(type=Editors.SelectionVariables)
    public Variable Variable1;



Now, it must look like this:

    @Parameter()
    @Help("Choose variable to which you want to assign some value")
    @Editor(type=Editors.SelectionVariables)
    public Variable Variable;



When you do deviate from naming the Variable, "Variable", it still compiles, but the UI presents a funky interface with two selection boxes, and the first box is empty:






SQX seems to ignore the variable you set in the 2nd box (the one you want), rendering the feature useless.


I've attached a snippet that produces the above Custom Action.


Thank you,


Ryan

Attachments
No attachments
  • Votes 0
  • Project Extending SQ
  • Type Bug
  • Status Moved
  • Priority Normal
  • Assignee None

History

RH
#1

rhartstein

27.09.2023 01:03

Task created

TT
#2

Tamas

18.10.2023 13:31
Task moved to project AlgoWizard, new link to task: https://sq.projectpanel.com/tasks/algw_000830

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please