а

Radio buttons in form layout


#1

I am using Scheduler 5.2 and the radio button layout I used in 4.x were arranged vertically with the ‘vertical: true’ option, but now it is not working on the 5.x like it should, it is arranged horizontally no matter what I do. I am using the Material Design style. Please help.


#2

Hi,

Please update the code of the snippets to reproduce the issue and make it clear for both versions:
v5.2.3 http://snippet.dhtmlx.com/e06cfae8a
v4.3.25 http://snippet.dhtmlx.com/218c85325

Then I will try to find a solution.


#3

Both of these snippets have {vertical: true} on the radio types, but the radio buttons are shown horizontally.


#4

Hi,

Sorry, you are right.

To solve the issue you can either add the next CSS rule:

.dhx_cal_ltext.dhx_cal_radio br{display:block}
Demo http://snippet.dhtmlx.com/3e0a4677c

or contact support team to get a build with a fix if you are licensed user.


#5

Thanks so much. Perfect.