allow floating point Preis
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ class PreisUnitField extends StringField {
|
||||
class PreisField extends SchemaField {
|
||||
constructor() {
|
||||
return super({
|
||||
value: new NumberField({ integer: true, initial: 0, min: 0 }),
|
||||
value: new NumberField({ initial: 0, min: 0 }),
|
||||
unit: new PreisUnitField(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user