-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc2a3be
commit 534d599
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
use yii\widgets\InputWidget; | ||
|
||
/** | ||
* @inheritDoc | ||
* | ||
* @author Die Coding (Sugeng Sulistiyawan) <[email protected]> | ||
* @copyright 2020 Die Coding | ||
|
@@ -48,9 +49,9 @@ public function run() | |
$this->registerAsset(); | ||
|
||
if ($this->hasModel()) { | ||
echo Html::activeFileInput($this->model, $this->attribute, $this->options); | ||
return Html::activeFileInput($this->model, $this->attribute, $this->options); | ||
} else { | ||
echo Html::fileInput($this->name, $this->value, $this->options); | ||
return Html::fileInput($this->name, $this->value, $this->options); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
<?php | ||
|
||
/** | ||
* @link http://www.diecoding.com/ | ||
* @author Die Coding (Sugeng Sulistiyawan) <[email protected]> | ||
* @copyright Copyright (c) 2018 | ||
*/ | ||
|
||
namespace diecoding\dropify; | ||
|
||
use yii\web\AssetBundle; | ||
|
||
/** | ||
* @inheritDoc | ||
* | ||
* @author Die Coding (Sugeng Sulistiyawan) <[email protected]> | ||
* @copyright 2020 Die Coding | ||
|