Skip to content

Commit

Permalink
fix: switch disabled on
Browse files Browse the repository at this point in the history
closes #82
  • Loading branch information
NathanWalker committed Oct 3, 2016
1 parent 4cb42af commit 65df221
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/pages/forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<TextField hint="Input rounded" class="input input-rounded m-b-10" />

<TextField hint="Input border Disabled" class="input input-rounded m-b-10" isEnabled="false" />
<TextField hint="Input border Disabled" class="input input-border m-b-10" isEnabled="false" />

<TextField hint="Input rounded Disabled" class="input input-rounded m-b-10" isEnabled="false" />

Expand Down
2 changes: 1 addition & 1 deletion app/pages/switches.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<drawer:RadSideDrawer.mainContent android:showOverNavigation="false">
<StackLayout class="demo-full">
<Switch checked="true" class="switch" id="checked"/>
<Switch checked="false" class="switch" enabled="true" id="unChecked" />
<Switch checked="false" class="switch" id="unChecked" />
<Switch checked="true" class="switch" isEnabled="false" id="checkedDisabled"/>
<Switch isEnabled="false" class="switch" id="unCheckedDisabled"/>
</StackLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/theme-core-scss/_switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}
&[checked=true][isEnabled=false]{
background-color: $grey;
color: $grey;
color: $white;
}
&[isEnabled=false]{
background-color: $grey;
Expand Down

0 comments on commit 65df221

Please sign in to comment.