angular-datepicker
                                
                                
                                
                                    angular-datepicker copied to clipboard
                            
                            
                            
                        Option to max selections
In multi select mode it would be great to have maximum selections. When selecting more than the allowed number the first selection will be unselected
I'll take it.
Does new config maxSelections for day picker and month picker sounds good?
I think that the best behaviour is when choosing max selections to disable more selections until removing a selection.
the naming is ok. Regarding the behaviour, in my opinion there are 2 options:
- (as described by you) disable more selections until removing a selection
 - Unselect the oldest when max exceeded.
 
I prefer the second, lets start with it? we later can add configuration to achieve the first. WDYT?
Hi , I couldnot able to sepeerate the multi select by comma(',').It is still showing ('|').how to implement that.
config: IDatePickerConfig = {
allowMultiSelect: true,
closeOnSelect: undefined,
closeOnSelectDelay: 100,
openOnFocus: true,
openOnClick: true,
onOpenDelay: 0,
weekDayFormat: 'ddd',
// appendTo: document.body, showNearMonthDays: true, showWeekNumbers: false, inputElementContainer:undefined, appendTo:undefined, returnedValueType:ECalendarValue.String };
                      placeholder="Select date">
      </dp-date-picker>
    </div>
@avineet1993 , the separator is set to be '|'. There is no way (currently to change it).
@justtal I am still waiting :)
Sorry, I'm Reacting already 🤣 😘
@justtal this is a step in the wrong direction :)