Skip to content

Commit

Permalink
feat(dropdownfield): integrate splitcate (1.3.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh authored and btry committed Jan 21, 2021
1 parent d5fe14f commit 784eae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inc/field/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public function getDesignSpecializationField(): array {
'on_change' => 'plugin_formcreator_changeDropdownItemtype("' . $rand . '");',
'display_emptychoice' => true,
'display' => false,
'specific_tags' => [
'data-type' => __CLASS__,
'data-itemtype' => $itemtype
],
]);

$decodedValues = json_decode($this->question->fields['values'], JSON_OBJECT_AS_ARRAY);
Expand Down

0 comments on commit 784eae0

Please sign in to comment.