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

vimre
vimre

Hi All,

I think I found a bug. I have created a many-to-many relationship between to models and I have created some fields in the pivot table as well that should be repeater fields on backend forms.

Everything works fine. I can set value of the fields (I can add items to repeater fields) and I also can delete the items...but not all of them. It seems if I delete all items of the repeater widget then it post nothing to the database so it does not update the field (to NULL). It means I cannot delete the very last item of the repeater field. I use version 2.1.15.

Have you ever noticed this bug? If yes, then do you have any workaround?

Thanks in advance for your help,
vimre

vimre
vimre

Hmm... it seems this issue appears everywhere, not only on pivot fields.

vimre
vimre

Another (but probably related) issue:
It seems Datatable widget does not work on pivot fields. I can add datatable type of field into my backend form but it does not save its content (values) when saving form.

I do not know where such bugs should be reported.

daftspunky
daftspunky

Hey vimre,

Please report bugs with the platform via email: https://octobercms.com/contact

Thanks!

vimre
vimre

daftspunk said:

Hey vimre,

Please report bugs with the platform via email: https://octobercms.com/contact

Thanks!

Thanks. I reported it.

1-5 of 5

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