SchemaField with increasable max?

I'm trying to understand the new schema fields and have a situation where I sometimes want to increase the "max" value of a field. Is that possible?

I have this
schema.carryLoad = new fields.SchemaField({
      value: new fields.NumberField({
        ...requiredInteger,
        initial: 0,
      }),
      min: new fields.NumberField({
        ...requiredInteger,
        initial: 0
      }),
      max: new fields.NumberField({
        ...requiredInteger,
        initial: 0,
      })
    });


but it seems I cannot increase the max value via
carryLoad.max += 10

for example
Was this page helpful?