Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    12.0p/12.1p/13.0d Calendar Day lane Drag&Drop length editing / lane switching broken

    Hi Isomorphic,

    please see these unmodified samples in 12.0p/12.1p/13.0d (2021-09-05).
    You can't Drag&Drop edit the event length here. Also Drag&Drop lane changes are not allowed even though canEditLane: true is set.
    Tested in FF91 and Edge 93.

    Best regards
    Blama

    #2
    Switch disableWeekends off :)

    Comment


      #3
      Hi Isomorphic,

      thanks, that's part of the issue then.
      I think it would be good if this was switched off in the sample as well so that this confusion can't come up in the first place.
      It's unlikely to have weekend events but disableWeekends: true.
      Additionally, editing the events by clicking them does work. So it seems the events don't honour their date+the calendars disableWeekends setting.

      Best regards
      Blama

      Comment


        #4
        We may make that change in the sample.

        As for editing existing events - we can't disable editing of events that exist on disabled dates - what if you want to change it to another date?

        Edit - ah, you can't do that :) But even so - the disabled-ness of calendar-cells affects whether you can add events there by clicking with the mouse. It's not clear that you shouldn't be able to edit events that already exist.
        Last edited by Isomorphic; 5 Sep 2021, 10:22.

        Comment


          #5
          Hi Isomorphic,

          yes, that's a problem. But this way you could also just change the time.
          I think a consistent solution would be this:
          Events on weekends should not exists, if there is disableWeekends: true. If they exist nevertheless then show some validation error if one wants to to an edit that has an event ending on a weekend.

          So no Drag&Drop to weekends, no Drag&Drop time changes on weekends, No new events on weekends + the mentioned validation for any changes via the event detail window.

          Best regards
          Blama

          Comment

          Working...
          X