This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

myhedin
myhedin

Hi everyone, I'm quite new to OctoberCMS so I need a little help I'm currently using Builder of October to create a plugin. I've got a table called Posts and a table called tags

I've got a relation one to many, so I'm being given many checkboxes. Considering that I'll have lots of tags, I'd like to ask did anyone implement a dropdown something similar like select2 for multiple choices If so, can you give me some tips or an example of it

Thanks

myhedin
myhedin

Never mind, I figured out a solution. Looks like OctoberCMS supports itself select2

This is what I did

I added these on my fields.yaml file

tags:

    type: taglist

    mode: relation

    attributes:

        multiple: true

Last updated

ReaZzon
ReaZzon

Thank you myhedin, Works with dropdown too!

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.