This is a larger PR but it's mostly well documented 😉
Goal: US12 TL; DR: New entry add form has more input fields, including a tag creation/ selection/ and deletion subform. Everything should work as expected. The data eventually lands in the database like this:
+ Add Tag model
+ Add tag.js api page
# Handles the POST method for posting a new tag.
# Handles the DELETE method for deleting a tag by id.
+ Add tags.js api page
# Handles the GET method for getting all tags.
! Update Entry model
# Uses apropriately the Tag model for the entryTags field.
! Update entry.js api page
# Populates the entry tag property.
! Update entries.js api page
# Populates the entry tag property.
! Update NewEntryForm component
# Now has a Reference Link Input.
# Now has a Description Input.
# Now has a Tag Section with:
# tag select/ deselect,
# tag deletion,
# tag creation.
Please take a moment to review this ❤️ 😊
This is a larger PR but it's mostly well documented 😉
Goal: US12 TL; DR: New entry add form has more input fields, including a tag creation/ selection/ and deletion subform. Everything should work as expected. The data eventually lands in the database like this:
Deployment