Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make modeDefaults dynamic #4268

Closed
ExtAnimal opened this issue Feb 23, 2022 · 0 comments
Closed

Make modeDefaults dynamic #4268

ExtAnimal opened this issue Feb 23, 2022 · 0 comments
Assignees
Labels
feature request forum Issues from forum OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@ExtAnimal
Copy link

ExtAnimal commented Feb 23, 2022

Forum post

And can i update "modeDefaults" or "modes" (dayStartTime, dayEndTime, hideNonWorkingDays, nonWorkingDays) with calendar dynamically? After calendar si rendered?

Can you give me an example? For example:

calendarRef.modeDefaults = {  dayStartTime : 7 }

Thanks!

It would work like CalendarMixin's changeNonWorkingDays with a proxy which reacts to mutations and updates child views with the new value.

  • The Calendar modeDefaults config is now dynamic. Mutations applied to any of its properties made will immediately
    be applied to all child views.
@ExtAnimal ExtAnimal added bug Something isn't working forum Issues from forum OEM OEM customer labels Feb 23, 2022
@ExtAnimal ExtAnimal self-assigned this Feb 23, 2022
@ExtAnimal ExtAnimal added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Feb 23, 2022
@matsbryntse matsbryntse added this to the 5.0.1 milestone Mar 2, 2022
@SergeyMaltsev SergeyMaltsev added feature request and removed bug Something isn't working labels Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request forum Issues from forum OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants