You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we need a way to define the delimiter when using ArrayWidget. I tried a few things like SimpleArrayField(forms.CharField(), delimiter='|', widget=ArrayWidget) but it produced funky results
What version of Unfold are you using?
0.40.0
What version of Django are you using?
5.1
What browser are you using?
Chrome 128
Did you checked changelog/commit history, if the bug is not already fixed?
Yes
Did you searched other issues, if the bug is not already fixed?
Yes
Did you checked documentation?
Yes
Are you able to replicate the bug in the demo site?
ArrayWidget is not used in the demo site
Repository with reproduced bug
model code:
admin code:
Describe your issue
When adding in the following items to the array field using the widget:
It saves properly in the backend as:
['Something 1', 'Something 2, Something 3', 'Something 4']
but when the page reloads, it renders as:
Notice the extra space before Something 3 also
The text was updated successfully, but these errors were encountered: