Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
92fb0149
Commit
92fb0149
authored
Feb 11, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #2405: The CSS class of `MaskedInput` now defaults to `form-control`
parent
d3041415
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
MaskedInput.php
framework/widgets/MaskedInput.php
+4
-0
No files found.
framework/CHANGELOG.md
View file @
92fb0149
...
...
@@ -152,6 +152,7 @@ Yii Framework 2 Change Log
-
Chg #2210: Mysql driver will now treat
`tinyint(1)`
as integer instead of boolean (qiangxue)
-
Chg #2248: Renamed
`yii\base\Model::DEFAULT_SCENARIO`
to
`yii\base\Model::SCENARIO_DEFAULT`
(samdark)
-
Chg #2281: Renamed
`ActiveRecord::create()`
to
`populateRecord()`
and changed signature. This method will not call instantiate() anymore (cebe)
-
Chg #2405: The CSS class of
`MaskedInput`
now defaults to
`form-control`
(qiangxue)
-
Chg: Renamed
`yii\jui\Widget::clientEventsMap`
to
`clientEventMap`
(qiangxue)
-
Chg: Renamed
`ActiveRecord::getPopulatedRelations()`
to
`getRelatedRecords()`
(qiangxue)
-
Chg: Renamed
`attributeName`
and
`className`
to
`targetAttribute`
and
`targetClass`
for
`UniqueValidator`
and
`ExistValidator`
(qiangxue)
...
...
framework/widgets/MaskedInput.php
View file @
92fb0149
...
...
@@ -61,6 +61,10 @@ class MaskedInput extends InputWidget
* @var string a JavaScript function callback that will be invoked when user finishes the input.
*/
public
$completed
;
/**
* @var array the HTML attributes for the input tag.
*/
public
$options
=
[
'class'
=>
'form-control'
];
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment