User list info label displays "null" even when unchecked

Created on 16 February 2025, about 2 months ago

Problem/Motivation

I use the Tagify User List for an user reference field with the 1.2.31 version.
On my website, the info label is always displayed even when it's not set, which result in displaying "null".

Steps to reproduce

  1. Set a user reference field to use the Tagify User List
  2. Uncheck "Include info label" or check it but fill no value
  3. Visit a page where the widget is used
  4. Under the username, a line with "null" is visible.

Side note : you can bypass this problem by checking the "Include info label" and fill a single space.

Proposed resolution

When the info label is unchecked, no line should be visible under the username.

Remaining tasks

If the bug can be reproduced, modify tagify_user_list.js to never display the div with tagData.info_label when null is received.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France nishruu

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024