我正在使用nylas Scheduler v3,下面是我的代码,我如何在预约表格中填写用户数据,例如姓名,电子邮件。
const nylasScheduling = document.querySelector('nylas-scheduling');
nylasScheduling.clientId = NYLAS_CLIENT_ID;
nylasScheduling.slug = schedulePageName;
可以通过传递 bookingInfo 属性来完成,如下面的代码所示
const nylasScheduling = document.querySelector('nylas-scheduling');
nylasScheduling.clientId = NYLAS_CLIENT_ID;
nylasScheduling.slug = schedulePageName;
nylasScheduling.bookingInfo = {
primaryParticipant: { name : 'maaz qureshi', email: '[email protected]'}
};