abrahamy
b7cad9df3d
Fixes #4371 : Active form client validation wasn't working in case of two models having same named fields
...
When rendering multiple models in the same ActiveForm if any of the field names in the two models is the same then the corresponding attribute in the yiiActiveForm object in yiiActiveForm.js (ie $('form').data('yiiActiveForm').attributes) of the first rendered model is overwritten by the attribute of the last model causing the client-side validation for the overwritten field not to run at all. Example: given two models Car and Owner with attributes {make, age} and {name, age} then if the Car is rendered first its age attribute will not have any client validation.
10 years ago
mcd.php
20774165bc
Fixes #4644 : Added `\yii\db\Schema::createColumnSchema()` to be able to customize column schema used
10 years ago
Klimov Paul
b062a6601d
Default event for `yii\behaviors\Sluggable` with `unique` enabled changed to 'insert'.
10 years ago
Klimov Paul
327914e452
Added automatic generating of unique slug value to `yii\behaviors\Sluggable`
10 years ago
Qiang Xue
3b01f48c6a
Fixes #4597 : `yii\composer\Installer::setPermission()` supports setting permission for both directories and files now (qiangxue)
10 years ago
Henry Abbott
00aab7c379
Fixed typo in comments for generatePasswordHash
10 years ago
Qiang Xue
359ae98f9c
Fixes #4622 : Simplified the way of creating a Faker fixture template file
10 years ago
Alexander Makarov
fb67f958a9
More cases for #4595
10 years ago
Alexander Makarov
b1e2090083
Fixes #4595 : more consistend use of "false" in "don't use" case
10 years ago
Alexander Makarov
84af0ad1f7
Fixes #4592 : Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO`
10 years ago
disem
5c79ab202c
Added key param to ActionColumn button Closure
...
fixes #4602 , close #4624
10 years ago
Qiang Xue
0cdf2f5171
Fixed code break.
10 years ago
Qiang Xue
dee0382c1f
Added `yii\base\InvalidValueException`.
...
Refactored `yii\web\User`.
10 years ago
Qiang Xue
2ef7eda249
Fixes #4611 .
10 years ago
Qiang Xue
1c3e61ec26
Fixes #4591 : `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL
10 years ago
Tomek Romik
24d0314928
Update docs for clientValidateAttribute()
10 years ago
Qiang Xue
7a55aea247
Fixes #4600
10 years ago
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
10 years ago
Thiago Talma
d635ab857b
Upgrade jquery.inputmask to v3.0.59
10 years ago
Tadas Z
f010fb57b4
Enh #4581 : Added ability to disable url encoding in `UrlRule`.
10 years ago
verysimplenick
91e0a3c8ee
fix typo in define $flavors['gfm-comment']
...
fix typo Markdown->GithubMarkdown in $flavors['gfm-comment']
10 years ago
Qiang Xue
3f9d590dbe
minor fix [skip ci]
10 years ago
Qiang Xue
f0fefbb609
renamed function name [skip ci]
10 years ago
Qiang Xue
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
10 years ago
Tomek Romik
87f58e4859
Abort further validation if there are no files to validate
10 years ago
Tomek Romik
8c5c4c503b
Fix lines
10 years ago
Tomek Romik
ed3564c1cf
Added client-side image validation
10 years ago
Qiang Xue
378b765e48
Fixes #4571 : ignore non-string attribute names for AttributeBehavior.
10 years ago
Alexander Makarov
2a8ca600c5
Simplified parameter check for buildSimpleCondition()
10 years ago
Alexander Makarov
47ee0b87d4
Removed unnecessary code
10 years ago
Alexander Makarov
b656137541
Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension
10 years ago
Carsten Brandt
0ed6355ee1
test and docs to be clear about #4558
10 years ago
maxlapko
62bffafeea
Update MessageController.php
...
Fixed order of checking config `format` property
10 years ago
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with `yii\db\Query::->where()` operand format
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
slavcodev
fa8e576251
Refactored ActiveQuery::one() to be consistent with all() creation
10 years ago
Qiang Xue
b19fa0c3db
minor fixes [skip ci]
10 years ago
xjflyttp
c5fbf89b44
- Enh #4520 : yii\caching/MemCache.php add sasl support (xjflyttp)
10 years ago
Alex-Code
3a10c4cfa4
Update yii.activeForm.js
...
Refactored
10 years ago
Alex-Code
6d2bc729c0
Update CHANGELOG.md
10 years ago
Alex-Code
4d337c3068
Update CHANGELOG.md
10 years ago
Carsten Brandt
7af92173b1
length arg of byteSubstr is now optional
10 years ago
Alexander Makarov
cde71f4318
Added encoding to StringHelper::byteSubst() fallback
10 years ago
Oleg Belostotskiy
57335523d2
Fix Russian translation
10 years ago
mbman
94dc27a30e
Fixes #4497 : Bad Request, Unable to verify your data submission
10 years ago
Qiang Xue
da544b2676
Fixes #4519 : `yii\base\Model::isAttributeRequired()` should check if the `when` option of the validator is set
10 years ago
Thiago Talma
45ee387f92
It is not required by default when you set the "when" attribute
10 years ago
Qiang Xue
a0d19e922b
Fixes #4497 : changed to use hex digits by default when hashing data.
10 years ago
Alexander Makarov
100ba6c3ab
Replaced substr_compare with strncmp where possible
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago