Selecting empty option redirects to undefined page

Created on 9 August 2023, over 1 year ago
Updated 22 May 2024, 6 months ago

Problem/Motivation

If you select the empty option (i.e "-- Select --" by default) you are redirected to a 404, in my case /node/undefined because the option does not have a URL.

IMO it should be possible to hide this option altogether, this was possible in the D7 version. However, we should also just not redirect if there is no data-url attr.

Steps to reproduce

Select the "-- Select --" option.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia acbramley

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