You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a definition with the command, it is possible to choose an IntField, and it's minValue and maxValue. The generated code of the min and max value is a String, not an Int. class IntField() only takes ?int as possible type. The generated code is: new IntField('interval', 'interval', '1', '8766')
Expected behaviour
The generated code should be: new IntField('interval', 'interval', 1, 8766)
Steps to Reproduce?
Generate a definition with an IntField with help of the command. Then input a minValue and a maxValue when asked by the command.
The text was updated successfully, but these errors were encountered:
PHP Version
8.1
Shopware Version
6.4.18.0
Actual behaviour
When generating a definition with the command, it is possible to choose an
IntField
, and it'sminValue
andmaxValue
. The generated code of the min and max value is aString
, not anInt
.class IntField()
only takes?int
as possible type. The generated code is:new IntField('interval', 'interval', '1', '8766')
Expected behaviour
The generated code should be:
new IntField('interval', 'interval', 1, 8766)
Steps to Reproduce?
Generate a definition with an
IntField
with help of the command. Then input aminValue
and amaxValue
when asked by the command.The text was updated successfully, but these errors were encountered: