I want to set a minimum value for a configuration variable, in this case a refresh rate that cannot be set lower than 30 seconds.
Originally I tried limiting in the set function, but found that didn’t work. I then added a listener for my record that checks when the value updates that the new value isn’t below my minimum value.
While this works and doesn’t allow the value to be updated below my minimum, what I end up with on my configuration page isn’t as neat as I would like. When I hit save after entering a value that is below my threshold, it does overwrite it to the minimum value I have set, but the banner at the top displays my entered value below my threshold. (I have attached a picture to better display what I mean).
If I wanted to edit what the banner displays, what class should I be looking to overwrite? I know from Storing data with PersistentRecords - Ignition SDK Programmer's Guide - Ignition Documentation that somewhere there is probably an internal call performing a save function on my record that I need to Overwrite, I’m just unsure where that is.
Or do I need to make my own custom page using React?
Thanks