Fix write-only tool options fields.
Review Request #8760 — Created Feb. 17, 2017 and submitted — Latest diff uploaded
The tool options for a Review Bot configuration would save correctly, but they
weren't being loaded because we were creating thetool_options
field after
the data had been loaded from the instance. This change fixes that by
overridingload()
and creating the field, before deferring to the
KeyValueForm
implementation.
Opened up a Review Bot configuration and saw that my configured values now
appeared in the form.