Fallback options

Created on 1 August 2025, 12 days ago

Problem/Motivation

Maybe I have totally missed it, but I can't see an option to allow the Name field in the Account Settings Manage Display to be able to fall back on the Username (or other field) if the Name field is not populated.

eg. if this module is installed after the fact and there are legacy users who do not have a Name set up (or admin accounts) and you want to view a user list in a view, using the User View mode, where you don't get a chance to add a custom views field config for empty value overrides.

Steps to reproduce

1. Set up Name as not required, or create users and then set up Name.
2. Set up a display mode that just outputs the Name field.
3. Create a view which lists Users with User View Mode with this display mode
4. You will see that it outputs a list of empty values (at least it did for me)

Proposed resolution

Add a 'fallback value' dropdown to the Name field display settings on the Display Mode config.

Remaining tasks

Tell me that this already exists and where, possibly needs documentation updates? OR
1. Create code change
2. Testing
3. RTBC

User interface changes

A dropdown in the Name field display settings on Display Mode config to choose fallback options when Name computed value is empty.

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom ChrisDarke London

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

Comments & Activities

Production build 0.71.5 2024