You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code example attempts to update a slug by fetching only the ID from the database and without interacting with the field that the slug is generated from.
As a result of executing this code, we will get a slug of the form "-1".
It seems to me, or is this not correct behavior? Perhaps there is already a ready solution to the problem (I would not want to add "title" to the selection)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Configuration example:
Code example:
This code example attempts to update a slug by fetching only the ID from the database and without interacting with the field that the slug is generated from.
As a result of executing this code, we will get a slug of the form "-1".
It seems to me, or is this not correct behavior? Perhaps there is already a ready solution to the problem (I would not want to add "title" to the selection)?
Beta Was this translation helpful? Give feedback.
All reactions