Hello!
I am using the vue.js component and would like to use a custom resource field called 'role' as the default name when creating the event.
how can I do?
Thanks for the help but that's not what I'm looking for.
I need the custom field called 'role' to be used as the name of the event when it is created.
my resources are structured as follows:
[{
id: 1,
name: "John",
role: "waiter"
}, .... ]
inside the 'args' argument of OnTimeRangeSelected the 'role' field is not present.
Is there any way to access that field?
Comment posted by Dan Letecky [DayPilot] 4 years ago.
Oh, sorry.
In onTimeRangeSelected, you can access the source data object this way: