From 744ebb3018248db942464629728b80571066e6c0 Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Tue, 3 Mar 2015 17:55:11 +0530 Subject: [PATCH] Fix #39: Correct editable plugin options for valueIfNull --- Editable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editable.php b/Editable.php index 6d69949..10d3f83 100644 --- a/Editable.php +++ b/Editable.php @@ -446,7 +446,7 @@ public function registerAssets() $view = $this->getView(); EditableAsset::register($view); $this->pluginOptions = [ - 'defaultValue' => $this->valueIfNull, + 'valueIfNull' => $this->valueIfNull, 'placement' => $this->placement, 'target' => $this->format == self::FORMAT_BUTTON ? '.kv-editable-button' : '.kv-editable-link', 'displayValueConfig' => $this->displayValueConfig,