On the parameters page, when the equity target is adjusted in the SelectField, and the save button is used, the user object is updated correctly and the database is updated correctly, but when the form is rendered, there is no selected value, so the SelectField is always defaulted to the first option (500).
Here you can see how select fields should be rendered, as seen with the real_estate_equity_ratio. The Equity Target has no option marked as selected value though.
There is a difference in the way that the options are generated. Equity target is using a list conversion of a range rather than a direct list like all the other attributes.
On the parameters page, when the equity target is adjusted in the SelectField, and the save button is used, the user object is updated correctly and the database is updated correctly, but when the form is rendered, there is no selected value, so the SelectField is always defaulted to the first option (500).
Here you can see how select fields should be rendered, as seen with the
real_estate_equity_ratio
. The Equity Target has no option marked asselected value
though.You can see in the
models.user
module, that there's no difference in the SelectField creationThere is a difference in the way that the options are generated. Equity target is using a list conversion of a range rather than a direct list like all the other attributes.