Getting Validation error even when no view mode is selected for a field

Created on 23 March 2023, over 1 year ago
Updated 2 April 2023, over 1 year ago

Problem/Motivation

As view_mode_conditional_fields module, is not field / content type specific, View Mode Conditional Field is added to all the fields.
so, when we are editing a required field in a content type which doesnt have any view modes selected, we are getting below issue "Required and View Mode Conditional Fields Settings both cant work together."

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Roshni_Kodiganti

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Roshni_Kodiganti
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India Roshni_Kodiganti
    1. issue 1: class "field-visibility-identifier" to manage visibility of fields but class "field-visibility-identifier" is being added even when no view mode is selected in View Mode Conditional Fields Settings. Now class "field-visibility-identifier" is added only when view mode is selected to a field.
    2. issue 2: when we are editing a required field in a content type which doesnt have any view modes selected, we are getting below issue "Required and View Mode Conditional Fields Settings both cant work together."

    Above two issue are fixed in patch.
    please review.

  • Status changed to Fixed over 1 year ago
  • 🇮🇳India MeenakshiG New Delhi

    Applied the patch. Thanks for the patch.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024