Our pure JavaScript Scheduler component


Post by pepitelab »

Hi,

Based on the basic demo code, the error:

`Uncaught Error: No widget adapter set at Function.get` is thrown whenever trying to create a new event.

I am using the import from the source method of integration: https://www.bryntum.com/docs/scheduler/#guides/gettingstarted/sources.md

Thanks

Post by pmiklashevich »

Hello,

Widget adapter is required whenever you use our widgets. It's included in bundle, but since you're importing from files, please import WidgetAdapter too. Nameless import should be fine, for example
import '../../lib/Common/adapter/widget/BryntumWidgetAdapter.js';
Let me know how it works for you

Cheers,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post by pepitelab »

This works indeed. Thank you

Post Reply