148 Commits

Author SHA1 Message Date
63e650952b Updated tests for HtmlHelper::textarea() 2016-11-29 00:06:20 +02:00
10ad620cb4 Adds ability for the user to choose if they want to double encode entities within textareas or not when using ActiveForm. Applies enhancement from #12988. 2016-11-29 00:06:12 +02:00
75162652b7 Update BaseHtml.php 2016-11-20 15:17:15 +01:00
ea251e24ba Closes #7420: Attributes for prompt generated with renderSelectOptions of \yii\helpers\Html helper 2016-11-17 16:43:19 +02:00
6bad563c69 Update BaseHtml.php (#12933) 2016-11-07 13:34:17 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
11fe407ad0 release version 2.0.10 2016-10-20 14:02:50 +02:00
68eb1268a3 Fix phpdoc in yii\helpers\BaseHtml 2016-10-04 23:08:39 +02:00
b1b6d60705 fix consistency of @doc on $selection 2016-09-26 21:25:06 +02:00
c66b845f48 Revert "Fixed #11973: yii\helpers\BaseHtml::getAttributeValue() fixed to work with items[] notation correctly"
This reverts commit 3fcc26996b9395d2892839b5bc8071c99a6cab07.
2016-09-11 22:13:59 +03:00
153eb07b0f HtmlHelper::errorSummary() - PHPDocs updated 2016-09-06 22:30:31 +03:00
9e02e89fae Added ability to skip duplicate error messages and show all error messages in errorSummary.
Update CHANGELOG.md
2016-09-06 22:26:12 +03:00
13c05ef3fa * Allows BaseHtml::activeListInput to override the field value, to follow BaseHtml::activeInput which already allows it 2016-08-20 13:33:12 -03:00
3fcc26996b Fixed #11973: yii\helpers\BaseHtml::getAttributeValue() fixed to work with items[] notation correctly 2016-08-05 15:08:51 +03:00
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
16e4cab8f1 Fixes #11865: Fixed setting selected for dropdown list using options 2016-07-03 01:43:50 +03:00
c370c17e93 Additional fix for ##11168 2016-06-24 17:32:01 +03:00
348cc17dbb Fixes #11168: yii\helpers\BaseHtml now uses abstracted booleanInput() and activeBooleanInput() methods to render radio(), checkbox(), activeRadio() and activeCheckbox() 2016-06-24 00:01:46 +03:00
a46015124c improved docs for Html::a() and absolute URLs
fixes #11216
2016-03-28 16:33:30 +02:00
16a6af5fa8 Add helper function for checking if an object is an array-like object.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
2016-02-24 23:49:05 +02:00
3bf3c20710 Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
# Conflicts:
#	framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
cc7628e5d2 WIP #10764: update docs [skip ci] 2016-02-10 00:50:52 +01:00
295bb3e173 WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent 2016-02-09 18:13:32 +01:00
ef5ce2d4c1 missing @since annotations in helpers 2016-02-07 17:46:12 +01:00
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
dcda2a2466 BaseHtml::checkboxList minor update 2015-12-21 18:09:44 +02:00
85c6a903dc Enh #10390: Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList 2015-12-21 18:04:49 +02:00
f95a6d9d08 Merge pull request #10292 from Faryshta/patch-5
use ArrayHelper::remove() for the html helper methods
2015-12-19 18:59:44 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
2d05b11f68 remove PHP_EOL 2015-12-02 04:21:45 -06:00
ec43f4c370 add separator around the items in ul() 2015-12-01 08:00:39 -06:00
d0ffb58efb syntax error 2015-12-01 07:34:40 -06:00
7a2bbabbbd add separator special option to ul and listBox 2015-12-01 07:28:09 -06:00
7618e4ee13 changes suggested by review. 2015-12-01 00:18:50 -06:00
5b67bc1822 use ArrayHelper::remove() 2015-11-30 19:32:41 -06:00
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
c3bfa5c77e fixed Html::activeFileInput() to set correct name for hidden input field
fixes #9689
2015-11-15 13:39:07 +01:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
728dc0c584 added docs about form element naming
close #8993
2015-08-03 12:51:17 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
2aba8df2ef Fixes #9228 2015-07-27 18:57:10 +03:00
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
0874ffac38 Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options 2015-05-29 12:31:52 +03:00
d4d972b535 Merge branch '6043-html-arrays'
Conflicts:
	framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
0f04af1af9 Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword() 2015-05-20 12:05:53 +03:00