How to Create a Slug System in Strapi v4

In my current project I added a slug uid with targetfield name. But what happens, is, when I create a new entry, that per default the slug refers to my modelName, not my targetfield. When I push the regenerate button, everything’s fine…is there a way to fix this?
that you don’t have to hit regenerate every time you create a new entry?