0ababa2d36
small fix #19530 ( #19532 )
...
* small fix #19530
* small fix #19530 | fix test
* small fix #19530 | fix test
* small fix #19530 | fix test
* small fix #19530 | update CHANGELOG.md
* Update framework/CHANGELOG.md
Co-authored-by: viktor.shumeiko <viktor.shumeiko@simbirsoft.com>
Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-09-05 17:32:20 +06:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
6aa5bd8d46
Fix #18967 : Use proper attribute names for tabular data in yii\widgets\ActiveField::addAriaAttributes()
2021-11-22 13:00:45 +03:00
533b569005
Fix PhpDoc of ActiveField
( #19001 )
2021-11-12 00:21:03 +03:00
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
2021-11-10 13:26:55 +03:00
82be8b61cf
Replacing deprecated ::className()
with ::class
( #18671 )
2021-05-22 23:14:54 +03:00
973ecda74c
Fix #16892 : Validation error class was not applied to checkbox and radio when validationStateOn = self::VALIDATION_STATE_ON_INPUT
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-09-11 22:28:10 +03:00
23a8d041a6
Fix #17853 : Fix errors in ActiveField to be properly caught when PHP 7 is used
...
Changed __toString method to catch all PHP 7 error types. \Throwable is part of PHP 7+, so I left the \Exception in for older PHP.
2019-10-03 15:03:12 +03:00
8d9947f06a
Fixes #17299 : Fixed adding of input error class in \yii\widgets\ActiveField::widget
2019-05-28 09:03:39 +02:00
e9b33916b6
Fixes #17220 : Fixed error when using non-InputWidget in active form field
2019-03-28 12:57:44 +03:00
f7fcc0043e
Revert "Fixes #17220 : Fixed widgets with no options"
...
This reverts commit a7f98964151d5894d9862fb0a1bf80040de86b69.
2019-03-24 15:57:46 +03:00
a7f9896415
Fixes #17220 : Fixed widgets with no options
2019-03-23 11:29:38 +03:00
a8d4f8538e
Fixes #16681 : ActiveField::inputOptions
were not used during some widgets rendering
2019-03-09 15:39:58 +03:00
8b7e878f1d
Revert "Fixes #16629 : ActiveField::inputOptions were not merged with options passed for radio and checkbox"
...
This reverts commit 8334ab3060dc97fac87c1fb176ce6d92be175e80 as it
breaks layout for checkboxes with Bootstrap
2018-11-21 18:32:24 +02:00
8334ab3060
Fixes #16629 : ActiveField::inputOptions were not merged with options passed for radio and checkbox
2018-11-20 01:12:17 +03:00
26700f06d1
Merge ActiveField condition with the parent ( #16715 )
2018-09-19 20:14:32 +03:00
f7862c16c7
Fixes #14368 : Added role
attribute for active radio list
2018-09-17 02:26:42 +03:00
cdcbb7575a
Simlified FQCN [skip ci]
2018-03-01 09:55:43 +02:00
d0a6302b37
Update ActiveField.php
...
Used Html instead BaseHtml
2018-03-01 08:05:25 +01:00
3838208cbc
Fixed has-error class to ActiveField div container when attribute name is tabular
2018-02-28 10:25:14 +01:00
59b56b312f
#15476 : Fixed ActiveField initial error class in case setting it to input
2018-02-17 21:48:13 +03:00
b3130be7ba
Fixes #15476 : Added \yii\widgets\ActiveForm::$validationStateOn
to be able to specify where to add class for invalid fields
2018-01-31 03:03:21 +07:00
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
e69adc19a7
Fixed yii\widgets\ActiveField::$options
does not support 'class' option in array format
2017-09-06 17:43:48 +03:00
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
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
442ac040cc
Used is_subclass_of() as suggested by @SamMousa
...
3946ac0dab (commitcomment-20466575)
2017-01-14 13:22:13 +03:00
3946ac0dab
Added yii\widgets\InputWidget::$field
field, allowing access to the related yii\widget\ActiveField
instance
2017-01-13 11:36:33 +02:00
194577c55e
Code style fix
2016-12-26 15:39:33 +02:00
0b9feb28e5
More renaming, removed unnecessary code
2016-12-02 16:59:01 +03:00
edfbab4a6b
More renaming and formatting fix
2016-12-02 14:37:13 +03:00
dc294ba56f
Renamed variables, changed logic of turning client updates on
2016-12-02 14:30:13 +03:00
ed8acc8e03
#12399 adjustments
2016-12-02 01:44:57 +03:00
fb779e3ec6
Fixes #12399 : Added ActiveField::addAriaAttributes
property for aria-required
and aria-invalid
attributes rendering
2016-12-02 01:44:34 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
11fe407ad0
release version 2.0.10
2016-10-20 14:02:50 +02:00
eb8809b8e1
Improve yii\widgets\ActiveField::widget()
performance ( #12669 )
...
See https://github.com/yiisoft/yii2/pull/12632#discussion_r81110938
2016-10-04 23:54:46 +03:00
81df45014c
Fixed custom widget validation ( #12629 ) ( #12632 )
2016-09-29 11:58:05 +03:00
5df0ebceea
phpDoc: Update ActiveField::label()
2016-09-02 12:05:33 +03:00
0187c09a84
Cosmetic changes 3
2016-08-28 18:14:14 +03:00
389054dde1
Cosmetic changes 2
2016-08-28 02:17:17 +03:00
a6fa576aab
Cosmetic changes
2016-08-27 20:36:32 +03:00
623f30324d
Added tests for ActiveField::hint(), fixed code formatting
2016-08-22 16:59:09 +03:00
b8c07f6839
Fixes #12009 : Do not render "for" field label attribute for active form RadioList and CheckboxList
2016-08-16 01:47:23 +03:00
3b2374b543
Fixes #12073 : Added the ability to suppress the generation of input hint when it is specified through Model::attributeHints()
2016-08-16 01:09:07 +03:00