Skip to content
Snippets Groups Projects

Issue #3494488 by grimreaper: Field widget: icon position not displayed

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -164,7 +164,7 @@ trait IconLinkWidgetTrait {
'#options' => $this->getDisplayPositions(),
'#states' => [
'visible' => [
':input[name="' . $field_name . '[' . $delta . '][options][icon]"]' => ['empty' => FALSE],
':input[name="' . $field_name . '[' . $delta . '][options][icon][icon_id]"]' => ['empty' => FALSE],
],
],
// Put the parent to allow saving under `options`.
Loading