Default license type is extremely confusing

Created on 28 September 2014, almost 11 years ago
Updated 19 August 2025, 5 days ago

Trying to copy the provided example licenses to create my own, but could not figure out how to get the license selection widget to appear that I had seen when I enabled the example module.

After digging for a while, I found on line 918 comerce_license.module: if (count($allowed_values) == 1) set it to default, and I think using behaviors to hide the field.

While I agree defaulting the field makes sense, it makes configuration much more confusing, as I can't tell the difference between an empty selection vs a default selection.

✨ Feature request
Status

Closed: outdated

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

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

Comments & Activities

Production build 0.71.5 2024