Description:
When the "Disable software support" option is enabled in WC Serial Numbers settings, the "Activation Limit" and "Valid for" fields are removed from the Key Details form while adding a new key. This appears to be unintended, since these two fields are related to license key activation and expiry, not software support, so they should remain available regardless of the software support setting.
Steps to Reproduce:
- Go to WooCommerce > Settings > General
- Enable "Disable software support"
- Save changes
- Go to add a new Serial Key (Key Details form)
- Observe the form fields
Expected Behavior:
"Activation Limit" and "Valid for" fields should remain visible and functional in the Key Details form, since they control key activation limits and expiry, independent of whether software support is enabled or disabled.
Actual Behavior:
"Activation Limit" and "Valid for" fields are hidden/removed from the Key Details form when "Disable software support" is enabled, preventing admins from setting these values on new keys.
Description:
When the "Disable software support" option is enabled in WC Serial Numbers settings, the "Activation Limit" and "Valid for" fields are removed from the Key Details form while adding a new key. This appears to be unintended, since these two fields are related to license key activation and expiry, not software support, so they should remain available regardless of the software support setting.
Steps to Reproduce:
Expected Behavior:
"Activation Limit" and "Valid for" fields should remain visible and functional in the Key Details form, since they control key activation limits and expiry, independent of whether software support is enabled or disabled.
Actual Behavior:
"Activation Limit" and "Valid for" fields are hidden/removed from the Key Details form when "Disable software support" is enabled, preventing admins from setting these values on new keys.