0👍
If I understand correctly, when you edit the post and unselect the category, you want it to show all the list of the category for the user to select the new category right?
then it’s simple, you just need to fetch the category list and show it with v-if when there is no record of category selected for the related post.
Source:stackexchange.com