save_config_from_form = async (form) => {
  const state = getState();

  for (const [k, v] of Object.entries(form.values)) {
    if (!state.isFixedConfig(k) && typeof v !== "undefined") {
      await state.setConfig(k, v);
    }
  }
}
Save config fields from page
@param {*} form
@returns {Promise<void>}