Problem/Motivation

On the form widget settings, the new term input and add button show even when creating new terms option is toggled off

Steps to reproduce

Gin admin theme, shs widget on select terms entity reference field.

Proposed resolution

Add form toggle value to drupalSettings and check in value in /js/views/WidgetView.js.

CommentFileSizeAuthor
#4 shs-add-new-term.png12.15 KBdrupalnesia

Issue fork shs-3454695

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

EthanT created an issue. See original summary.

iheb.attia’s picture

Status: Needs review » Reviewed & tested by the community
drupalnesia’s picture

StatusFileSize
new12.15 KB

I also experience the same, below using Olivero theme:

SHS Add New Term Error

abelpzl’s picture

Same problem in 3.0.0-alpha4 and Drupal 10/11
I tested this patch and work successful

RTBC +1

  • joseph.olstad committed 20fba3a8 on 3.0.x
    Issue #3454695 by ethant, drupalnesia, iheb.attia, abelpzl: New term...
joseph.olstad’s picture

Version: 3.0.0-alpha3 » 3.0.0-beta2
Status: Reviewed & tested by the community » Fixed
joseph.olstad’s picture

Status: Fixed » Closed (fixed)

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