Premium support for our pure JavaScript UI components


Post by tobias.aires »

How can i set a max value on countField ?

Attachments
Screenshot from 2023-04-03 19-00-14.png
Screenshot from 2023-04-03 19-00-14.png (25.02 KiB) Viewed 344 times

Post by mats »


Post by tobias.aires »

Is this path correct? Because the expected behavior is not happening.

Attachments
Screenshot from 2023-04-04 18-56-15.png
Screenshot from 2023-04-04 18-56-15.png (225.95 KiB) Viewed 338 times

Post by tobias.aires »

I'm still facing the same issue. Even trying to change some label on recurrenceTab is not working.


Post by tobias.aires »

i'm using scheduler pro 5.3.2


Post by marcio »

Hey tobias,

That looks like a bug, I reproduced it on one of our demos. I created a ticket to fix that https://github.com/bryntum/support/issues/6557

Best regards,
Márcio


Post by tobias.aires »

Hello, any news about that ticket above?

How can i change RecurrenceStopConditionCombo? I don't want to show the "Never" option.

Attachments
Screenshot from 2023-05-03 17-26-34.png
Screenshot from 2023-05-03 17-26-34.png (26.85 KiB) Viewed 320 times

Post by alex.l »

it won't be working in regular way with config because of the bug listed above.
Another way is to override combo class

class RecurrenceStopConditionComboOverride {
    static get target() {
        return {
            class      : RecurrenceStopConditionCombo,
            product    : 'scheduler',
            minVersion : '5.0',
            maxVersion : '6.0'
        }
    }

buildItems() {
    return [
        // { value : 'never', text : this.L('L{Never}') },
        { value : 'count', text : this.L('L{After}') },
        { value : 'date',  text : this.L('L{On date}') }
    ];
}
}
Override.apply(RecurrenceStopConditionComboOverride);

All the best,
Alex


Post by alex.l »

Regarding to news about the fix, I don't have any updates for now, unfortunately. You can subscribe on ticket updates to be notified when it's ready.

For further questions please open a new thread.
Thank you!

All the best,
Alex


Post by tobias.aires »

What is the Override class path?


Post Reply