Problem/Motivation
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.
Proposed resolution
Change the duration wrapper to a fieldset.
Issue fork smart_date-3585611
Show commands
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