Maksim Spirkov
2f8e62d6b6
Fix codestyle in tests ( #20638 )
2025-10-27 10:56:00 +03:00
Wilmer Arambula
da20adc82a
Make test data providers static and declare array return types. ( #20621 )
2025-10-15 20:01:34 +03:00
Wilmer Arambula
d71f7309ae
Add void return to method in tests. ( #20602 )
2025-10-14 12:37:35 +03:00
Maksim Spirkov
909396074e
Fix codestyle in build and tests ( #20586 )
2025-10-10 23:04:09 +03:00
Максим Спирков
023a9c7c5b
Fix @var and @method tags syntax in build and tests folders ( #20396 )
2025-06-10 19:32:49 +03:00
nzwz
4859c8fcae
Fix #20309 : Add custom attributes support to style tags
2025-02-14 09:59:48 +03:00
Alexander Makarov
76150c5403
Revert "Fix #20198 : Boolean values of the value HTML attribute are now converted to integer values"
...
This reverts commit 0e50cee88f .
2024-06-19 21:04:17 +03:00
Evgeniy Moiseenko
0e50cee88f
Fix #20198 : Boolean values of the value HTML attribute are now converted to integer values
2024-06-17 18:57:37 +03:00
skepticspriggan
bf3ada13fc
Fix #20087 : Add custom attributes to script tags
2024-04-03 16:18:16 +03:00
Wilmer Arambula
3357e64ee6
Remove test of data providers, and replace expectNotToPerformAssertions() to assertTrue(true) for code coverage.
2024-03-21 09:56:54 -03:00
Wilmer Arambula
ce813e5060
Raise version min PHP 7.3.
2024-03-20 17:27:20 -03:00
Skeptic Spriggan
c9c5c61f76
Fix error summary always visible with CSP header ( #19691 )
2024-01-18 16:30:22 +01:00
Moritz L'Hoest
1f0f701bc3
Fix #19689 : Remove empty elements from the class array in yii\helpers\BaseHtml::renderTagAttributes() to prevent unwanted spaces
2022-11-28 23:57:25 +03:00
Bizley
64adbd73c6
Fix #19534 : Fix yii\helpers\BaseHtml::renderSelectOptions() to properly render boolean selection
2022-11-17 15:49:09 +03:00
Bizley
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
Adnan
94dfccd6fa
19324 dropdownlist selection for boolean attributes ( #19331 )
...
* Fix #19324 by allowing for direct comparison
* Invert meaning of strict
* Remove WinterSilence from authors list
* Fix improper implementation of strict checks
* Add test for renderSelectOptions
* Partially revert 'Fix improper implementation of strict checks'
* Add additional tests for strict
* Revert 'Fix improper implementation of strict checks'
* Add failing test for demonstration
* Comment out demonstration test
* Update framework/CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes >
Co-authored-by: Bizley <pawel@positive.codes >
2022-04-11 09:44:48 +02:00
Anton
6fb16bc30f
Fix #19098 : Add yii\helper\BaseHtml::$normalizeClassAttribute to fix duplicate classes
2021-12-27 21:44:48 +03:00
Anton
2520e50c52
Fix #18653 : Added method yii\helpers\BaseHtml::getInputIdByName()
2021-05-13 22:20:42 +03:00
bscheshirwork
5ad809e815
Fix #18593 : Fix setting the maxlength attribute for Html::activeInput() and Html::activeTextArea() based on length parameter of validator
2021-04-09 20:15:14 +03:00
Alexander Makarov
50831e6f08
Travis leftovers cleanup
2021-03-03 02:21:39 +03:00
Alex
e49a52f3a1
Fix #18210 : Allow strict comparison for multi-select inputs
2020-08-05 15:12:42 +03:00
Alexander Makarov
4de66f8205
Fix #16145 : Fix Html helper checkboxList(), radioList(), renderSelectOptions(), dropDownList(), listBox() methods to work properly with traversable selection
2020-03-24 12:55:35 +03:00
Alexander Makarov
1d6d0d76c5
Fix HtmlTest to work well with line endings
2020-03-24 12:28:51 +03:00
alex-code
5939813a8e
Fix #17797 : Fix for activeListInput options
...
* Tests
Test for `activeListInput` options.
Also fixed test names for `checkbox` and `radio`.
* activeListInput options
Fix for `activeListInput` options.
* Update BaseHtml.php
* Update HtmlTest.php
* Update CHANGELOG.md
* Update BaseHtml.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru >
2020-03-12 18:46:38 +03:00
Brandon Kelly
beca7b45d3
Fix #17793 : Fix inconsistent handling of null data attribute values in yii\helpers\BaseHtml::renderTagAttributes()
2020-01-10 21:35:09 +03:00
Brandon Kelly
7e471e3010
Fix #17792 : Added support for aria attributes to yii\helpers\BaseHtml::renderTagAttributes()
2020-01-10 18:39:00 +03:00
Brandon Kelly
d7f69b6676
Fix #17625 : Fix boolean data attributes from subkeys rendering in Html::renderTagAttributes()
2019-10-22 12:26:28 +03:00
Dzhuneyt
a790685e66
Fixes #16974 : Regular Expression Validator to include support for 'u' (UTF-8) modifier
2019-01-03 15:12:42 -05:00
Nikolay Oleynikov
06227c7075
Fixes #16648 : Html::strtolower() was corrupting UTF-8 strings
2018-11-20 01:09:03 +03:00
Bizley
f3438c450c
Fixes #10843 : Additional hidden input rendered by yii\helpers\BaseHtml methods inherits disabled HTML option if provided and set to true
2018-10-23 21:29:46 +03:00
Alexandr Ivanov
af3b8b2f23
Fixes #11960 : Fixed checked option ignore in yii\helpers\BaseHtml::checkbox()
2018-10-07 16:29:08 +03:00
Alexandr Ivanov
0ad5afd387
Fixes #14759 : Fixed yii\web\JsonResponseFormatter output for null data
2018-10-07 16:26:59 +03:00
Evgeniy Moiseenko
4d26c915dc
Additional fix for #14230
2018-09-25 17:41:45 +03:00
Evgeniy Moiseenko
a8bfe8bbe6
Fixes #14230 : Fixed itemsOptions ignored in checkBoxList
2018-09-19 17:39:21 +03:00
Evgeniy Moiseenko
3eba4ea69a
Fixes #16680 : Fixed ActiveField 'text' input with maxlength
2018-09-13 12:18:18 +03:00
Alexey
bf5476f253
Fixes #15889 : Fixed override yii\helpers\Html::setActivePlaceholder
2018-07-29 00:07:09 +08:00
Pavel Ivanov
4e940a2772
Fix travis builds for 'nightly' php ( #15992 )
...
1) Fixed unexpected exceptions (PHP nightly): https://travis-ci.org/yiisoft/yii2/jobs/358866164#L789
2) Fixed session issues (PHP hhvm): https://travis-ci.org/yiisoft/yii2/jobs/358866162#L841
3) Excluded unicode characters check from 'nightly' PHP version
4) Also deprecated InvalidParamException replaced with InvalidArgumentException
2018-03-27 19:22:15 +03:00
SilverFire - Dmitry Naumenko
b3f54d1065
Simplified code, enhanced PHPDocs
2018-03-10 10:19:07 +02:00
Fabrizio
52263077c0
Bug #15858 : Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli)
2018-03-08 23:24:41 +01:00
edwards-sj
1c473325ac
Fixes #15742 : Updated setActivePlaceholder to be consistent with activeLabel
2018-02-23 12:33:41 +03:00
André Sousa
d39d3ed0a6
Fixes #15644 : Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero
2018-02-15 18:23:12 +03:00
Hanafi Ahmat
4f7b410230
Fixes #9771 : Assign hidden input with its own set of HTML options via $hiddenOptions in activeFileInput $options
2018-01-24 17:02:03 +03:00
vladis
78d76c3f2c
Enh #15226 : Auto generate placeholder from fields
2017-12-24 08:07:18 +05:00
SilverFire - Dmitry Naumenko
9e0f19ace7
Renamed Html::error() option errorMethod to errorSource
2017-12-22 11:02:08 +02:00
杨国帅
f9cdcf438d
Fixes #3087 : Added yii\helpers\BaseHtml::error() "errorMethod" option to be able to customize errors display
2017-12-19 23:16:00 +03:00
Alexander Makarov
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
Dmitry Naumenko
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
2017-10-19 01:54:40 +03:00
Robert Korulczyk
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
Robert Korulczyk
0c0942d6e2
Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. ( #14681 ) [skip ci]
2017-08-21 01:57:23 +03:00
Robert Korulczyk
12eb936083
Enable heredoc_to_nowdoc rule in php-cs-fixer ( #14419 )
2017-07-10 13:18:52 +03:00