License duration widget should be of type "number_integer" instead of "text".

Created on 19 February 2016, over 9 years ago
Updated 19 August 2025, 5 days ago

I'm in a position where I'm using rules to autocreate a product when a display is created. This requires me to have a duration field on both the display and the product.

The problem is that commerce license creates the fields as number_integer type fields. And the widget is set to be used on textfields.

So my problem is that if I want to populate the number_integer field on my product type I don't get the right data selection to find my own license duration field.

I'm pretty shure we just have to alter the widget to be for number_integer type fields only.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium alexverb

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024