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.
2014-08-12 01:38:05 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
b1e2090083
Fixes #4595 : more consistend use of "false" in "don't use" case
2014-08-07 15:58:52 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
2014-08-04 18:06:10 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
f74e208103
Merge branch 'deferred-validation' of github.com:Alex-Code/yii2 into Alex-Code-deferred-validation
...
Conflicts:
framework/CHANGELOG.md
2014-07-31 11:28:27 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alex-Code
b4ca343bd2
deferred validation
...
Added support of deferred validation.
2014-07-28 09:54:23 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Thiago Talma
88191bbe5c
New callback functions for form validation using Ajax.
...
close #4436
2014-07-25 09:24:04 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
b147e6516d
minor CS fixes [skip ci]
2014-07-10 11:59:27 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Sorokin Victor
504e973f67
Fixes #4241 : yii\widgets\Pjax was incorrectly setting container id
2014-07-10 17:30:55 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
374b98e2e4
Fixes #4227 : \yii\widgets\LinkPager::$hideOnSinglePage is now true by default
2014-07-09 17:23:47 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3405f8e8a4
doc fix [skip ci]
2014-07-05 00:03:03 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
085f2c0142
gridview and listview use widget ID in base tag
2014-06-27 20:26:26 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
6578cfbdab
updated phpdoc and classmap
2014-06-25 18:24:23 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
0d03f720a4
added usage example of ActiveField::widget()
2014-06-25 13:14:03 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
79f9f85ff2
Fixes #4024 , Fixes #4028
2014-06-24 02:43:42 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
85fd823ee6
Added ability to yii\widgets\Menu to encode each item's label separately (creocoder, umneeq)
2014-06-24 00:34:17 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
7889d1ee88
Upgrade of the code
2014-06-17 21:34:56 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
1909da2a21
re ownTemplate => template
2014-06-17 20:35:40 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
7f0427d911
ownTemplate => template
2014-06-17 20:26:16 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
b1f71cbf60
yii\widgets\Breadcrumbs enhancement. Allow link to have its ownTemplate
2014-06-17 20:02:12 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0740d2da61
Merge branch 'widgets-activeform-incorrect-js-selector' of github.com:creocoder/yii2 into creocoder-widgets-activeform-incorrect-js-selector
...
Conflicts:
framework/CHANGELOG.md
2014-06-13 22:01:47 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
1b81503d71
\yii\widgets\ActiveForm incorrect js selector for errorSummaryCss property better fix
2014-06-14 02:02:35 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
4894d66d6e
\yii\widgets\ActiveForm incorrect js selector for errorSummaryCss property fixed
2014-06-14 01:28:16 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Dmitry Chernikov
f27edcc27d
Fix Menu bug when using template with encodeLabel => false
2014-06-12 20:30:56 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
91cd62be27
Fixes #3715 : Fixed the bug that using a custom pager/sorter with GridView may generate two different pagers/sorters if the layout configures two pagers/sorters
2014-06-06 00:34:56 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Kartik Visweswaran
e90fb534da
Masked input widget upgrade fixing #3196
...
Support contribution credits updated
2014-06-05 11:49:24 +05:30
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
274b6e41b4
adjusted apidoc for MaskedInput widget
2014-06-04 10:37:50 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Kartik Visweswaran
b5461a7660
Fix #3196 : Masked input widget revamped to use new plugin
...
Edited Asset Bundle PHP doc header information.
2014-06-03 21:27:51 +05:30
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Kartik Visweswaran
8331ff018d
Fix #3196 : Masked input widget revamped to use new plugin
2014-06-03 19:32:07 +05:30
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
artur
d2fcbcc0e0
Hide menu container tag when items is empty
2014-05-30 02:19:07 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
artur
5a1702e77c
Refactor
2014-05-22 13:40:55 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
artur
6c25675d7e
Changed param name
2014-05-22 10:18:06 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
artur
e860f218cf
Add param for configuring rendering result with one page
2014-05-22 03:01:58 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
artur
e19737e132
Hide output when only one page exist
2014-05-22 01:55:08 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
cb66c92609
Finished caching guide [skip ci]
2014-05-20 00:17:10 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
55c2ee9885
added note about GET method to ActiveForm
...
fixes #3353
2014-05-17 16:17:32 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
7ca1be3504
Fixes #3008 : Added Html::errorSummary()
2014-04-22 19:55:13 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
9c5429740d
Fixes #3212 : removed unnecessary prepare() call.
2014-04-22 11:51:28 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
665aefbb55
Fixes #3042 : yii\widgets\Pjax should end application right after it finishes responding to a pjax request
2014-04-16 10:25:03 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8ac79a35ae
support hiding error and label tags via error(false) and label(false).
2014-04-11 20:09:19 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
c6e1a2f02f
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (79 commits)
Refactored app bootstrap logic.
Update authorization.md
Fixes #3052 : Fixed the issue that cache dependency data is not reused when `reusable` is set true
start debug logging only if debug runs when bootstrap.
Update finnish translation
Add ODBC support to yii\db\Connection
updated error handler and requirement checker links.
fixed broken API links [skip ci]
added more doc [skip ci]
update class map.
Fixes #2034 : Added `ContentNegotiator` to support response format and language negotiation
renamed attributes to attributeNames in model
updated phpdoc
Removed `Application::preload` in favor of `Application::bootstrap`
Update module-debug.md
Update model.md
Fixes
Update basics.md
typo fix [skip ci]
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
...
2014-04-10 22:22:36 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
2014-03-29 23:54:26 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Nikola Trifunovic
e250b96a8f
Added summaryOptions and emptyTextOptions to BaseListView
2014-03-26 23:00:42 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
2ec58e64d6
Fixed whenClient.
2014-03-24 10:51:21 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
bbc7b0768f
separate id and name of attribute for client side validation
2014-03-22 21:21:11 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)