How to endable Multidate in input/date

I am trying to be able to select multiple dates with the input input/date but I can't seem to get it to work.This is what im using:

echo elgg_view('input/date', array('name' => 'date','datepicker_options' => [
'multidate' => 'true'
]));
 
does anyone know what I am doing wrong?