|
Hi Patrick,
In case you have categoryName in parameter you need to use
parameters.categoryName in description attribute(for form-widget), no
need to remove id form it.
If there is need of removing then, parameters is nothing but a map, you
can use methods regarding map.
for ftl you can use this pattern
<select>
<option
value="${parameters.productCategoryId!}">${parameters.categoryName!}</option>
</select>
HTH
Regards
--
Parimal Gain
Patrick wrote:
> How can I remove the variable "productCategoryId" from the parameters
> context? The reason I want to do this is because I'm doing a
> drop-down on productCategoryId but displaying categoryName. I expect
> to see {Apples, Oranges} in my drop-down, but I see {10011 (a
> productCategoryId available in $parameters), Apples, Oranges}
> Thanks.
>
|