To check this possible bug is in core or validate if a contrib module isn't working as it should. The contrib module's that are used in this scenario are field_group and office_hours.

I have checked on the php side. Both the tab and the office hour field is required on the backend.

In the vertical tab.js there is a ".data('verticalTab', vertical_tab);" which for some reason adds * to the vertical tab.

The only problem is that the * does not appear with office hours field in a custom field_group. When I add another field from drupal core that is required. Then the * is on the tab.

I can't figure out what data is doing with the list. The * will appear when form-required class is being added. I also can't find where this class is being added. Which is very strange because of the list that is generated with javascript in vertical tab.js

I've opened this issue in core because the vertical tab.js of core is being used.

Comments

ruudvanoijen created an issue. See original summary.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

bhanuprakashnani’s picture

Assigned: Unassigned » bhanuprakashnani