Skip to content

Commit

Permalink
part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed May 19, 2017
1 parent 2490c87 commit 2f8cb7a
Show file tree
Hide file tree
Showing 14 changed files with 472 additions and 866 deletions.
11 changes: 2 additions & 9 deletions src/components/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ export class Checkbox extends BaseInput<boolean> implements IonicTapInput, OnDes
super(config, elementRef, renderer, 'checkbox', false, form, item, null);
}

/**
* @hidden
*/
initFocus() {
this._elementRef.nativeElement.querySelector('button').focus();
}

/**
* @hidden
*/
Expand All @@ -117,8 +110,8 @@ export class Checkbox extends BaseInput<boolean> implements IonicTapInput, OnDes
/**
* @hidden
*/
_inputCheckHasValue(val: boolean) {
this._item && this._item.setElementClass('item-checkbox-checked', val);
_inputUpdated() {
this._item && this._item.setElementClass('item-checkbox-checked', this._value);
}

}
2 changes: 1 addition & 1 deletion src/components/input/input.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $text-input-ios-highlight-color-invalid: $text-input-highlight-color-invalid !
// iOS Default Input
// --------------------------------------------------

.text-input-ios {
.input-ios .text-input {
margin: $text-input-ios-margin-top $text-input-ios-margin-right $text-input-ios-margin-bottom $text-input-ios-margin-left;
padding: 0;

Expand Down
2 changes: 1 addition & 1 deletion src/components/input/input.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $text-input-md-highlight-color-invalid: $text-input-highlight-color-invalid
// Material Design Default Input
// --------------------------------------------------

.text-input-md {
.input-md .text-input {
margin: $text-input-md-margin-top $text-input-md-margin-right $text-input-md-margin-bottom $text-input-md-margin-left;
padding: 0;

Expand Down
Loading

0 comments on commit 2f8cb7a

Please sign in to comment.