Cannot save facet form if "plain_text" filter format doesn't exist

Created on 9 November 2022, almost 2 years ago
Updated 13 April 2024, 6 months ago

Problem/Motivation

After adding a facet for the content type of a node index I found that I was unable to save the edit form on the facet, attempting to do so by clicking the "save" button resulted in this JS error:

An invalid form control with name='facet_settings[empty_behavior_container][empty_behavior_text][format]' is not focusable.

Steps to reproduce

Add a facet for the content type field on a node index.

Proposed resolution

Fix the error.

Remaining tasks

Fix the error.

User interface changes

It will be possible to save the facet edit form.

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024