Fix TargetField null value

This commit is contained in:
Dapoolp 2025-08-29 23:49:58 +02:00
parent f2338494ea
commit 1d047beddb

View file

@ -6,7 +6,8 @@ export default class TargetField extends fields.SchemaField {
type: new fields.StringField({
choices: CONFIG.DH.GENERAL.targetTypes,
initial: CONFIG.DH.GENERAL.targetTypes.any.id,
nullable: true
nullable: true,
blank: true
}),
amount: new fields.NumberField({ nullable: true, initial: null, integer: true, min: 0 })
};