feat: implement FormTagInput for learnings and tags in course creation & edit forms.

This commit is contained in:
Flavio Mastrangelo 2025-02-20 23:56:11 +01:00
parent 000f1031e7
commit cdd05f6476
5 changed files with 121 additions and 40 deletions

View file

@ -30,7 +30,7 @@ const CourseClient = (props: any) => {
function getLearningTags() {
// create array of learnings from a string object (comma separated)
let learnings = course?.learnings ? course?.learnings.split(',') : []
let learnings = course?.learnings ? course?.learnings.split('|') : []
setLearnings(learnings)
}