Fixed
Project:
Smart Date
Version:
4.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2026 at 10:19 UTC
Updated:
19 Apr 2026 at 10:40 UTC
Jump to comment: Most recent
During recent work on Canvas Field Component, it became clear that the States API break on the Duration set of inputs specifically. This seems to be because a details element is used, and Canvas movies the child elements into a React-based details element, losing the states properties in the process.
In the settings, the duration wrapper is a details element but is set to be always open anyway, so functionally nothing would lost moving it to a fieldset instead.
Change the duration wrapper to a fieldset.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mandclu commented