Skip to content
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

Правка небольших багов radio #223

Open
wants to merge 2 commits into
base: v2.0.0
Choose a base branch
from

Conversation

Jerry-ok
Copy link

@Jerry-ok Jerry-ok commented Mar 8, 2017

Правка небольших багов radio

@Jerry-ok Jerry-ok changed the title Не у всех контролов есть Label (radio, checkbox) Правка небольших багов radio Mar 8, 2017
@awinogradov
Copy link
Member

@Jerry-ok Thanks! Can you translate commit messages to English?

@@ -24,7 +24,7 @@ provide(bemDom.declBlock(this.name, /** @lends form-field.prototype */{
},

'disabled' : function(modName, modVal) {
this.findChildBlock(Label).setMod(modName, modVal);
this.findChildBlock(Label) && this.findChildBlock(Label).setMod(modName, modVal);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meybe

var label = this.findChildBlock(Label);
label && label.setMod(modName, modVal);

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants