Model setting's attribute props order changes after saving from GUI

System Information
  • Strapi Version: 3.3.2
  • Operating System: Mac OS Catalina
  • Database: mongo latest
  • Node Version: 12.18.3
  • NPM Version: 6.14.8
  • Yarn Version:

Model setting’s attribute props order changes after saving from GUI

This bug(?) made my git commit dirty and hard to find real changes.

image

How about sorting attributes’ props before save?

We don’t normally put the via above the collection, how did you get a structure like that?

I always use Content Manager whenever I need to add/modify attributes of model.

It could have been due to an upgrade in version, I think recently we added in some “rules” as to how the CTB structures the settings files.

1 Like

Oh I didn’t know that.

I started my project from 3.1.4 and now I’m on 3.3.2

Now it makes sense, thank you :slight_smile: