Alexander Makarov
|
59b56b312f
|
#15476: Fixed ActiveField initial error class in case setting it to input
|
7 years ago |
Alexander Makarov
|
b3130be7ba
|
Fixes #15476: Added `\yii\widgets\ActiveForm::$validationStateOn` to be able to specify where to add class for invalid fields
|
7 years ago |
Alexander Makarov
|
fb23b0d0ea
|
Code style fixes
|
7 years ago |
Klimov Paul
|
e69adc19a7
|
Fixed `yii\widgets\ActiveField::$options` does not support 'class' option in array format
|
7 years ago |
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".
|
7 years ago |
Robert Korulczyk
|
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.
|
7 years ago |
Carsten Brandt
|
c19b2f7dc8
|
release version 2.0.11
|
8 years ago |
Alexander Makarov
|
442ac040cc
|
Used is_subclass_of() as suggested by @SamMousa
3946ac0dab (commitcomment-20466575)
|
8 years ago |
Klimov Paul
|
3946ac0dab
|
Added `yii\widgets\InputWidget::$field` field, allowing access to the related `yii\widget\ActiveField` instance
|
8 years ago |
Klimov Paul
|
194577c55e
|
Code style fix
|
8 years ago |
Alexander Makarov
|
0b9feb28e5
|
More renaming, removed unnecessary code
|
8 years ago |
Alexander Makarov
|
edfbab4a6b
|
More renaming and formatting fix
|
8 years ago |
Alexander Makarov
|
dc294ba56f
|
Renamed variables, changed logic of turning client updates on
|
8 years ago |
Alexander Makarov
|
ed8acc8e03
|
#12399 adjustments
|
8 years ago |
a.kompaniets
|
fb779e3ec6
|
Fixes #12399: Added `ActiveField::addAriaAttributes` property for `aria-required` and `aria-invalid` attributes rendering
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Boudewijn Vahrmeijer
|
32f4dc8997
|
Fixes #5385: links created from classes to corresponding guide articles (#12920)
|
8 years ago |
Carsten Brandt
|
11fe407ad0
|
release version 2.0.10
|
8 years ago |
Robert Korulczyk
|
eb8809b8e1
|
Improve `yii\widgets\ActiveField::widget()` performance (#12669)
See https://github.com/yiisoft/yii2/pull/12632#discussion_r81110938
|
8 years ago |
coderlex
|
81df45014c
|
Fixed custom widget validation (#12629) (#12632)
|
8 years ago |
Evgeniy Tkachenko
|
5df0ebceea
|
phpDoc: Update ActiveField::label()
|
8 years ago |
Roman Grinyov
|
0187c09a84
|
Cosmetic changes 3
|
8 years ago |
Roman Grinyov
|
389054dde1
|
Cosmetic changes 2
|
8 years ago |
Roman Grinyov
|
a6fa576aab
|
Cosmetic changes
|
8 years ago |
SilverFire - Dmitry Naumenko
|
623f30324d
|
Added tests for ActiveField::hint(), fixed code formatting
|
8 years ago |
Vladimir Shevchenko
|
b8c07f6839
|
Fixes #12009: Do not render "for" field label attribute for active form RadioList and CheckboxList
|
8 years ago |
PowerGamer1
|
3b2374b543
|
Fixes #12073: Added the ability to suppress the generation of input hint when it is specified through `Model::attributeHints()`
|
8 years ago |
Carsten Brandt
|
10ba47d841
|
fixed docs in ActiveField
|
8 years ago |
Egor Verbitskiy
|
2fbd55b634
|
Fixes #11949: Fixed `ActiveField::end` generates close tag when it's `option['tag']` is null
|
8 years ago |
Carsten Brandt
|
0895f212c6
|
improved docs about `tag` option in HTML options
|
8 years ago |
Aleksei Vesnin
|
6745bdb65e
|
Fixed `yii\widgets\ActiveField` to handle inputs AJAX validation with changed ID properly.
Tests for `yii\widgets\ActiveField` with custom input ID.
|
9 years ago |
Daniel Gomez Pan
|
7dc984d359
|
Fixed #8779: Automatically set enctype form option when using file input field
|
9 years ago |
githubjeka
|
9824da5883
|
update phpDoc of \yii\widgets\ActiveField::error
|
9 years ago |
SilverFire - Dmitry Naumenko
|
723e3a9850
|
Updated ActiveField::getInputId PHPDoc, CHANGELOG
|
9 years ago |
Carsten Brandt
|
13fca3bc54
|
alternative solution for issue #7627
should cover more cases then #8912. Have not tested it yet.
see #7627
|
9 years ago |
Alexander Makarov
|
67658cf57d
|
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
|
9 years ago |
Klimov Paul
|
563deea02c
|
`yii\widgets\ActiveField` now uses corresponding methods for default parts rendering
|
9 years ago |
Klimov Paul
|
85ca8c3712
|
Added ability to specify hints for model attributes
|
10 years ago |
Carsten Brandt
|
1945738c8d
|
improved and fixed Html helper and ActiveField phpdoc
fixes #7560
|
10 years ago |
Qiang Xue
|
0eb27981cd
|
Fixes #7440: Added support to automatically set the `maxlength` attribute for `Html::activeTextInput()`
|
10 years ago |
Carsten Brandt
|
30e45a4aea
|
improve documentation about uncheck and unselect in activefield
fixes #7465
|
10 years ago |
justinvoelker
|
f2523cb5d7
|
Update ActiveField.php
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425.
|
10 years ago |
Qiang Xue
|
57c298a523
|
Fixes #7361: The `trim` validator now works on the client side too
|
10 years ago |
Carsten Brandt
|
389d9e2fd2
|
add hint about custom element id and selectors property
to Active Field
fixes #6734
|
10 years ago |
Qiang Xue
|
f509ed2448
|
Fixes #6236: No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false
|
10 years ago |
Carsten Brandt
|
9869e67df8
|
fixed phpdoc
thanks to @pana1990
close #6060
|
10 years ago |
Qiang Xue
|
866214e75a
|
Fixes #6018: When setting the `encode` option via `yii\widgets\ActiveRecord::errorOptions`, it works the other way around [skip ci]
|
10 years ago |
Qiang Xue
|
cb90f31cbe
|
Fixes #5702: Parenthesis should be automatically added to `Validator::whenClient` to avoid js error
|
10 years ago |
Qiang Xue
|
169a2a39c0
|
Fixes #5110.
|
10 years ago |
Qiang Xue
|
93496bf8fd
|
Fixes #5058: `yii\helpers\Html::activeCheckbox()` and `activeRadio()` will generate labels by default using the corresponding attribute labels
|
10 years ago |