Version 5.1.0

August 7, 2026

Added

  • Optgroups for Dropdown and Multi-select via {"optgroup": "Group label"} (legacy isOptgroup still accepted).
  • Optional JSON icon and color keys on options (CP preview + GraphQL).
  • Field setting Validate selected values against options? for soft option-range validation.
  • Field settings Options preview (renders the template without an element).
  • EVENT_BEFORE_PARSE_OPTIONS / EVENT_AFTER_PARSE_OPTIONS for PHP customization.
  • GraphQL SdfOption object type with value, label, extras (JSON string), icon, color, and valid.
  • English translation category file.
  • Plugin documentation under docs/.

Changed

  • Craft 5 dbType() (json for multi / string for single); removed reliance on legacy content-column APIs.
  • Value encoding aligned with Craft 5 base64: / __blank__ patterns.
  • Runtime-only properties (json, templateData, genError) no longer leak into project config.
  • README updated for Craft 5.
  • Renamed field type classes from SueprDynamic* to SuperDynamic* (typo fix).
  • Migration m260807_074500_rename_field_type_classes rewrites stored field type values in the database and project config.
  • Legacy SueprDynamic* names remain as class_alias stubs so sites keep working before/without the migration.
  • icon supports Craft system icon names and SVG path aliases (e.g. @webroot/icons/abc.svg), via Craft’s iconSvg helper.
  • Dropdown/Multi-select CP inputs now use Craft’s Selectize template so icons/colors render like native fields.
  • Added OptionData::getIconHtml() for Twig.

Fixed

  • Broken optgroup parsing ($option typo).
  • Multi-select encoding type mismatches with custom OptionData.

Removed

  • Unused General library stub and empty settings JS asset.
  • Unused radio/checkbox inner templates.

GraphQL breaking change

  • Option fields now resolve to SdfOption / [SdfOption] instead of plain strings. Update queries from myField / myField(label: true) to myField { value label extras }.

Version 5.0.1

March 30, 2024
  • Added Icons to fields.
  • Encode values logic changed as per new craft version.
  • InlineEditableFieldInterface Support for Drodown field.

Version 5.0.0

March 27, 2024
  • Upgraded plugin to supports Craft 5.
  • Minimum PHP version supported is php 8.2

Version 2.0.1.1

January 26, 2024
  • Solved a bug where setting Multi select field (or Checkboxes) in Entries table in backend was throwing error.

Version 2.0.1

December 30, 2023

We have removed current variable from json template that will break after upgrade for sites which uses current variable in their json templates.

  • Solved a bug where new entry was throwing 500 internal server error due to infinite loading element.
  • Changed Dropdown UI so we can search and pick dropdown values just like native craft 4 dropdown field.
  • Changed Multi-Select Buttons Group UI so we can search and pick values just like native craft 4 dropdown field.
  • Changed Radio Buttons Group UI.
  • Changed Checkboxes Buttons Group UI.
  • Removed existing current variable in dynamic loaded sdf json templates.
  • Added new element variable in dynamic loaded sdf json templates that returns element directly. so we can now use element instead current.element.
    {% set entry = element ?? null %}
    {% set matrixField = entry.matrixField.all() ?? null %}
    [
      { "label" : "-- Select -- ", "value": "" }
      {% for item in matrixField %}
      ,{ "label" : "{{ item.heading }}", "value": "{{ item.getId() }}" }
      {% endfor %}
    ]
    

Version 2.0.0.5

June 14, 2023
  • Fixed a bug with rendering as include template instead of full page template.

Version 2.0.0.4

June 13, 2023
  • Fixed a bug where Template was not parsing when field triggers from another plugin or component and that was throwing Memory limit issue.
  • Removed Mode and added PATH for template parsing

Version 2.0.0.3

June 9, 2023
  • Fixed a bug where in conditional rules, options for SDF were not showing.
  • Added cachedOptions field in field settings. Turn that setting while creating field will cache json options and will not render JSON parse from template again and again. That will make field load fast.

Version 2.0.0.2

April 28, 2023
  • Removed min version required dependancy.

Version 2.0.0.1

December 10, 2022
  • now new current object is available inside SDF templates where you can grab current ELEMENT and use all fields inside that element.
    {% set entry = current.element ?? null %}
    {% set matrixField = entry.matrixField.all() ?? null %}
    [
      { "label" : "-- Select -- ", "value": "" }
      {% for item in matrixField %}
      ,{ "label" : "{{ item.heading }}", "value": "{{ item.getId() }}" }
      {% endfor %}
    ]
    

If you are in child element such as matrix, You can go to parent entry by owner object.

{% set entry = current.element.owner ?? null %}
{% set matrixField = entry.matrixField.all() ?? null %}
[
    { "label" : "-- Select -- ", "value": "" }
    {% for item in matrixField %}
    ,{ "label" : "{{ item.heading }}", "value": "{{ item.getId() }}" }
    {% endfor %}
]

Version 2.0.0

May 10, 2022
  • Upgraded to support craft cms 4.

Super Dynamic Fields now requires PHP 8.0.2 or newer.

Super Dynamic Fields now requires Craft CMS 4.0.0 or newer.

Version 1.0.7

February 9, 2022
  • Changed DB schema for Multi Select and Checkboxes fieldtypes from string to text.

Version 1.0.6

August 24, 2021
  • Added GraphQL Support.

Version 1.0.5

October 30, 2020
  • Solved issue where in preview entry mode, Fields were not working.
  • Solved issue where adding new matrix block not add default value to fields.
  • Change the way to store Multi select and Checkboxes in database.

Version 1.0.4

October 6, 2020
  • Solved Error where in List entries table, SDF Checkboxes and Multi Select were throw 503 error.

Version 1.0.3

April 13, 2020
  • Typo mistakes in Field Setting page.

Version 1.0.2

April 12, 2020
  • Typo mistakes in Field Setting page.

Version 1.0.1

April 12, 2020
  • Change SVG Icon.
  • Multi option fields enhancements.

Version 1.0.0

April 12, 2020
  • Initial release.