$this->getFieldSetting('available_currencies') gives an unfiltered value, that also contains non-selected currencies. We need an array_filter in order to not confuse the form element, otherwise it doesn't render anything.

Comments

bojanz created an issue. See original summary.

  • bojanz committed 9909729 on 8.x-2.x
    Issue #2897238: PriceDefaultWidget passes unfiltered #...
bojanz’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.