-
Title and slug are connected now. Every time when title is edited, slug automatically changes with slugified copy of title. I'm looking for a way to disable this behaviour. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @geff21st, If you want to "unlink" the title and permalink fields, you can override your module's resources/views/admin/mymodule/create.blade.php
This will unlink the fields when creating new records and when updating existing records. You may want to keep the fields linked on create but not on update, to allow users to change the titles without automatically changing the slugs. The easiest way that comes to mind is to check the request to toggle the
Hope this can help! |
Beta Was this translation helpful? Give feedback.
Hey @geff21st,
If you want to "unlink" the title and permalink fields, you can override your module's
create
partial and comment out theonChange
option :resources/views/admin/mymodule/create.blade.php