File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const fromToDateTitleElements = document.querySelectorAll('[data-name="from-to-d
99const textFormatElement = document . querySelector ( '[data-name="text-format"]' ) ;
1010const dateFormatElement = document . querySelector ( '[data-name="date-format"]' ) ;
1111
12+ const modalModeRadioOptions = document . querySelectorAll ( 'input[name="modalModeRadioOptions"]' ) ;
1213const inLineRadioOptions = document . querySelectorAll ( 'input[name="inLineRadioOptions"]' ) ;
1314const rangeSelectorRadioOptions = document . querySelectorAll ( 'input[name="rangeSelectorRadioOptions"]' ) ;
1415const rangeSelectorMonthsToShowStartInputElements = document . querySelector ( '[data-name="rangeSelectorMonthsToShow-start"]' ) ;
@@ -59,7 +60,8 @@ function optionOnChange(optionName, value) {
5960 normalDtpContainer . hidden = true ;
6061 inLineDtpContainer . hidden = false ;
6162 inLine = true ;
62- break ;
63+ modalModeRadioOptions . forEach ( e => e . checked = e . value == 'false' ) ;
64+ break ;
6365 case false :
6466 normalDtpContainer . hidden = false ;
6567 inLineDtpContainer . hidden = true ;
@@ -188,6 +190,12 @@ function optionOnChange(optionName, value) {
188190 break ;
189191
190192 case 'inLine' :
193+ dtp1 . updateOptions ( {
194+ modalMode : false
195+ } ) ;
196+ dtp2 . updateOptions ( {
197+ modalMode : false
198+ } ) ;
191199 break ;
192200
193201 case 'modalMode' :
You can’t perform that action at this time.
0 commit comments