Our pure JavaScript Scheduler component


Post by SIM-LTD »

Hi,

Just want to let you know an issue with the features : MultiEventSelect

Indeed, the error message is :
MultiEventSelect : Not available, make sure you have imported it
We noticed when if the "MultiEventSelect" is declared like this, this is OK and Drag & Drop multi event works
export default {

        name : 'scheduler',

        props : {
            // Configs
            autoHeight                     : Boolean,
            barMargin                      : { default : 2, type : Number },
            multiEventSelect           : { default : true, type : Boolean },
            ..........
But if we declare like this:
   features: {
   	multiEventSelect: true,
   	.....
Then an error occurs and the overall Scheduler is not functionning.

So, we do not know whether we have to take "multiEventSelect" as a property or as a features ?
Because most of the properties can be updated on a fly via "features"
Attachments
Capture d’écran 2019-08-16 à 12.09.47.png
Capture d’écran 2019-08-16 à 12.09.47.png (60.54 KiB) Viewed 561 times

Post by pmiklashevich »

That's correct. multiEventSelect is not a feature but a config on EventSelection mixin.

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply