File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,9 @@ export class RecurrenceForm {
510510 'aria-label' : messageLocalization . format ( 'dxScheduler-recurrenceUntilDateLabel' ) ,
511511 } ,
512512 onContentReady : ( e ) : void => {
513+ const repeatEndValue = this . recurrenceRule . repeatEnd ;
513514 e . component . option ( 'value' , this . recurrenceRule . until ) ;
515+ e . component . option ( 'disabled' , repeatEndValue !== 'until' ) ;
514516 } ,
515517 onValueChanged : ( e ) : void => {
516518 this . recurrenceRule . until = e . value ;
@@ -534,7 +536,9 @@ export class RecurrenceForm {
534536 'aria-label' : messageLocalization . format ( 'dxScheduler-recurrenceOccurrenceLabel' ) ,
535537 } ,
536538 onContentReady : ( e ) : void => {
539+ const repeatEndValue = this . recurrenceRule . repeatEnd ;
537540 e . component . option ( 'value' , this . recurrenceRule . count ?? undefined ) ;
541+ e . component . option ( 'disabled' , repeatEndValue !== 'count' ) ;
538542 } ,
539543 onValueChanged : ( e ) : void => {
540544 this . recurrenceRule . count = e . value ;
You can’t perform that action at this time.
0 commit comments