Skip to content

Commit

Permalink
add missing simple fields
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Sep 2, 2024
1 parent 337dd9b commit 410860d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/web/twig/variables/FeedMeVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
use craft\fields\Dropdown;
use craft\fields\Email;
use craft\fields\Lightswitch;
use craft\fields\Money;
use craft\fields\MultiSelect;
use craft\fields\Number;
use craft\fields\PlainText;
use craft\fields\RadioButtons;
use craft\fields\Time;
use craft\fields\Url;
use craft\helpers\DateTimeHelper;
use craft\helpers\Html;
Expand Down Expand Up @@ -344,13 +346,18 @@ public function supportedSubField($class): bool
$supportedSubFields = [
Checkboxes::class,
Color::class,
Country::class,
Date::class,
Dropdown::class,
Email::class,
Lightswitch::class,
Money::class,
MultiSelect::class,
Number::class,
PlainText::class,
RadioButtons::class,
Time::class,
Url::class,
'craft\ckeditor\Field',
'craft\redactor\Field',
];
Expand Down

0 comments on commit 410860d

Please sign in to comment.