- Issue created by @mikaylaflanagan
- π³π±Netherlands johnv
Indeed, I see many more problems:
- no problem with the 'Add exception' buttons
- both fields have the same title
- when first adding an exception one second field, then save, then add exception on other field, the value of first field is prefilled. - π³π±Netherlands johnv
The above commit should solve the problem.
Please test and report back. Then I will release a new version. - πΊπΈUnited States mikaylaflanagan
Hey - thanks for the reply!
Just tested this, getting WSOD and the following error in logs when trying to edit a node that has the office hour field.'Error: Cannot access protected property Drupal\field\Entity\FieldConfig::$id in Drupal\office_hours\Plugin\Field\FieldType\OfficeHoursItemList->getPlugin() (line 276 of /modules/contrib/office_hours/src/Plugin/Field/FieldType/OfficeHoursItemList.php).'
Maybe helpful context:
Drupal Core: 10.4.5
PHP: 8.2 - π³π±Netherlands johnv
Oh, I am working on 8.3 I think I must go back to 8.2, because I get more such problems reported.
Automatically closed - issue fixed for 2 weeks with no activity.