- Issue created by @gribnif
- π¨π¦Canada mandclu
I have tested this in both Gin and Claro, and it works as expected. Unless I get detailed steps to reproduce on a fresh install or Drupal, I don't have a path forward.
- πΊπΈUnited States gribnif
1. Set up a test site using the evaluator guide: https://www.drupal.org/node/2997977 β
2. Install smart_date:composer require 'drupal/smart_date:^4.2@beta'
3. Create a new content type with a Smart Date Range.
4. Change the form display mode to Smart Date|Classic and move the date field to the top of the page. These are the options I used, to match my original site:
5. Add a new node using this content type. The default theme is Claro. This is what I see:
- π¨π¦Canada mandclu
Ah OK, so the issue is specific to the Classic widget. That shouldn't be an overly difficult fix.
TBH I have been thinking of deprecating the Classic widget. Can I ask why you decided to use that one?
- πΊπΈUnited States gribnif
TBH I have been thinking of deprecating the Classic widget. Can I ask why you decided to use that one?
I'm not entirely sure. I think it's simply because we've been using Smart Date since this was the only option. I just tried using Inline Range instead and, after some minor changes to the form_alter() hook we're using to set custom default values, I think it will work just fine--and it avoids the problem described above.