Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Instead of returning the value itself, create a

...

new AttributedResult instance, provide values/options for the dropdown list, and return it.

paste-code-macro
languagegroovy
def selectedPrice = 9.99
def options = [9.99 , 19.99 , 29.99 ]
return api.attributedResult(selectedPrice)
	.withManualOverrideValueOptions(options)