Repeat end count disappears when changing interval

Created on 5 March 2023, over 1 year ago
Updated 11 March 2024, 4 months ago

Problem/Motivation

The repeat end count form component disappears when changing the interval (from "days" to "weeks", for instance) on a previously saved node.

Steps to reproduce

  1. Have a field of type "Smart date range"
  2. Load a node with that field.
  3. Verify that it has a recurrence rule that includes "Ends" "After" "[some number] times"
  4. Change the interval of recurrence from one type to another in the dropdown, e.g. "months" to "years"
  5. Notice that the "[some number] times" disappears.
  6. Change the "Ends" from "After" to "Never"
  7. Change the "Ends" from "Never" to "After"
  8. Notice that the "[some number] times" reappears.
  9. Notice that any subsequent changes to the recurrence does not cause "[some number] times" to unexpectedly disappear
πŸ› Bug report
Status

Postponed: needs info

Version

3.6

Component

Smart Date Recur

Created by

πŸ‡ΊπŸ‡ΈUnited States skyriter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada mandclu

    Thanks for the detailed steps to reproduce, and for the video. Very thorough!

    I can't reproduce the reported issue. I tested on a site using Smart Date 3.6.1, Drupal 9.5.2, and the Gin admin theme (8.x-3.0-rc1). I suspect that the issue has more to do with using the Smart Date widget within a tab, I'm guessing using Field Group. Maybe this is actually a symptom of πŸ› Field group #states interferes with children #states Active ?

  • πŸ‡¦πŸ‡ΉAustria eameyers

    I am having the exact same issue in a normal form with a smart date range field in it with.
    Using Smart Date 4.0.3, Drupal 10.2.4 and have the Gin Theme.
    The video already posted is what is happening in my form just without the tabs

Production build 0.69.0 2024