Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xjflyttp committed Jul 23, 2015
1 parent 585143b commit 572f720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ EOF
//work with hidden input
echo yii\helpers\Html::hiddenInput('mytag', '', ['id' => 'myTagId']);
echo Tagit::widget([
'renderInput' => false,
'renderTag' => false,
'id' => 'myTagId',
'name' => 'mytag',
'value' => ['a', 'b'],
Expand All @@ -50,7 +50,7 @@ echo Tagit::widget([
//work with hidden input (input init value)
echo yii\helpers\Html::hiddenInput('mytag2', 'a,b,c,d', ['id' => 'myTagId2']);
echo Tagit::widget([
'renderInput' => false,
'renderTag' => false,
'id' => 'myTagId2',
'name' => 'mytag2',
'clientOptions' => [
Expand Down

0 comments on commit 572f720

Please sign in to comment.