From fd329a4b5e6364ca4e3d6bc969be2f173cf5086b Mon Sep 17 00:00:00 2001 From: gucal Date: Wed, 20 Dec 2023 23:42:36 +0300 Subject: [PATCH] Fix #5623 - Otherprops not working for InputSwitch --- components/lib/inputswitch/InputSwitch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lib/inputswitch/InputSwitch.js b/components/lib/inputswitch/InputSwitch.js index 85cc44a969..69094105ac 100644 --- a/components/lib/inputswitch/InputSwitch.js +++ b/components/lib/inputswitch/InputSwitch.js @@ -95,6 +95,7 @@ export const InputSwitch = React.memo( role: 'checkbox', 'aria-checked': checked }, + otherProps, ptm('root') ); const hiddenInputWrapperProps = mergeProps(