Skip to Content
1
Aug 20, 2021 at 07:25 AM

Is it possible to extend an existing MDK Switch control?

203 Views

Hi,

Standard MDK Switch control value binding takes "true/false" values. But our backend don't want to use Boolean data type. Instead they want to use Integer data type with 1,0 values.

  • True = 1
  • False = 0

We have around 350+ switch controls in different pages. To achieve this we have to write 400+ rules to convert Boolean to Integer. Its complex and error prone.
Can we extend existing Switch control and convert the data type to Integer.

Best regards
Sreekanth