Our powerful JS Calendar component


Post by j.hemelaers »

I was working on dynamic fields in the eventEdit widget, and I came up with a small issue.
I am not sure if it is my fault or not.
When I click on an event of a different eventType, some of the custom fields i configured disappear when I click the previous eventType again.
Attached the code.

  eventEditFeature: {
        readOnly: false,
        items: {
            aantal: {
                type: 'number',
                name: 'aantal',
                label: 'Aantal',
                dataset: {eventType: 'Diner'},
                ref: 'eventTypeField',
            },
            email: {
                type: 'text',
                name: 'email',
                label: 'Email',
                dataset: {eventType: 'Diner'},
                ref: 'eventTypeField',
            },
            tel: {
                type: 'text',
                name: 'tel',
                label: 'Telefoon',
                dataset: {eventType: 'Diner'},
                ref: 'eventTypeField',
            },
        }
    },

Post by alex.l »

Hi, j.hemelaers,

Looks like a bug, here is a ticket: https://github.com/bryntum/support/issues/1228

Thanks,
Alex

All the best,
Alex


Post Reply