Q:

How to set maxValue in a dynamic way?

Is there a way to send a variable to the maxvalue numberfield config?
I want my maxvalue to be like another field value (the referent).
It has to be dynamic since I can change the referent field anytime.
I don't know what to use, it seems to me that validator event only fires at the first renderer.

A:

There is an API method in Ext 5 for that: setMaxValue()

