-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add InputWidget::createInputField()
#14441
Conversation
framework/widgets/InputWidget.php
Outdated
* @see Html::activeInput() | ||
* @see Html::input() | ||
*/ | ||
protected function createInputField($type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt this ambigious as it renders a HTML tag and not actually creating a Field? Perhabs a better name is renderInput()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
4ef72d5
to
23a850b
Compare
to implement behavior described in class docs directly in the class itself instead of relying on subclasses to respect the description. fixes yiisoft#14294
Merged. Good one. |
Introducing In my projects this change affected at least three widgets: hiqdev/yii2-combo@af68b15 |
Ooops ... @SilverFire can you open an issue? |
reopened #14294 (comment) |
…vior described in `InputWidget` class docs to the class itself" This reverts commit a5b393a. See #14441 (comment) for reasons
…vior described in `InputWidget` class docs to the class itself" This reverts commit a5b393a3c101bebeb0c60aac4e11d5a7c6dd8244. See yiisoft/yii2#14441 (comment) for reasons
…vior described in `InputWidget` class docs to the class itself" This reverts commit a5b393a3c101bebeb0c60aac4e11d5a7c6dd8244. See yiisoft/yii2#14441 (comment) for reasons
to implement behavior described in class docs directly in the class
itself instead of relying on subclasses to respect the description.
fixes #14294