We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6f92b commit 5f621abCopy full SHA for 5f621ab
ionic/components/button/button.ts
@@ -300,7 +300,7 @@ export class Button {
300
*/
301
private _setClass(type: string, assignCssClass: boolean) {
302
if (type && this._init) {
303
- this._renderer.setElementClass(this._elementRef.nativeElement, this._role + '-' + type, assignCssClass);
+ this._renderer.setElementClass(this._elementRef.nativeElement, this._role + '-' + type.toLowerCase(), assignCssClass);
304
}
305
306
0 commit comments