Skip to content

Commit

Permalink
Fix settings not showing when other Vue based plugins interfere
Browse files Browse the repository at this point in the history
  • Loading branch information
chasegiunta committed May 11, 2020
1 parent 1783d80 commit ea3b1ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fields/JasonField.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use craft\helpers\Db;
use yii\db\Schema;
use craft\helpers\Json;
use yii\web\View;

/**
* JasonField Field
Expand Down Expand Up @@ -242,7 +243,7 @@ public function serializeValue($value, ElementInterface $element = null)
public function getSettingsHtml()
{
// Register our asset bundle
Craft::$app->getView()->registerAssetBundle(JasonFieldAsset::class);
Craft::$app->getView()->registerAssetBundle(JasonFieldAsset::class, View::POS_BEGIN );

$id = Craft::$app->getView()->formatInputId('jason');

Expand Down

0 comments on commit ea3b1ee

Please sign in to comment.