luceos One of the biggest issues I see is that you try to re-use a SettingsModal, which is meant to store Flarum settings to the database, for something entirely different. The SettingsModal assumes an object called settings to be used, and it uses a dirty method to retrieve settings that need to be saved.
I can't exactly understand you here, as if you could be clearer.
luceos Please note it uses this.setting().
I also took a look at Bazaar, but I can't tell the difference.
I have changed it to use
this.setting(), unfortunately I still have the same bug.
Do I have to use
mithril.js in the setting model?