File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
apps/react-storybook/stories/scheduler Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -403,6 +403,7 @@ export const LegacyPopup: Story = {
403403 {
404404 name : "customRepeatEditor" ,
405405 editorType : "dxSwitch" ,
406+ dataField : "repeat" ,
406407 editorOptions : {
407408 onValueChanged : ( e ) => {
408409 if ( e . value === true ) {
@@ -420,8 +421,6 @@ export const LegacyPopup: Story = {
420421 form . getEditor ( "repeatEditor" ) . option ( "value" , "never" ) ;
421422 onValueChanged ( { ...e , value : "never" } ) ;
422423 }
423-
424- form . getEditor ( "customRepeatEditor" ) . option ( "value" , e . value ) ;
425424 } ,
426425 } ,
427426 } ,
Original file line number Diff line number Diff line change @@ -873,6 +873,7 @@ export class AppointmentForm {
873873 this . _$recurrenceGroup ?. attr ( 'tabindex' , '-1' ) ;
874874
875875 this . _popup . updateToolbarForMainGroup ( ) ;
876+ this . updateRepeatEditorValue ( ) ;
876877 }
877878
878879 saveRecurrenceValue ( ) : void {
@@ -938,7 +939,8 @@ export class AppointmentForm {
938939 const value = frequency ?? repeatNeverValue ;
939940
940941 repeatEditor . option ( 'value' , value ) ;
941- this . _recurrenceForm . recurrenceRule = new RecurrenceRule (
942+ this . _recurrenceForm . updateRecurrenceFormValues (
943+ value ,
942944 this . recurrenceRuleRaw ,
943945 this . startDate ,
944946 ) ;
You can’t perform that action at this time.
0 commit comments