Hey, I found a little correction to fix this.
I changed the grocery_crud javascript file around line 7550 after Chosen.prototype.set_up_html = function () …
Before:
container_props = {
'class': container_classes.join(' '),
'style': "width: " + this.container_width() + ";",
'title': this.form_field.title
};
After:
container_props = {
'class': container_classes.join(' '),
'title': this.form_field.title
};
if(this.container_width() != "0px"){
container_props.style = "width: " + this.container_width() + ";";
}
It’s a quick fix but not perfect because it’s width will be of the first element
the other way would be but i’m not sure of the side effects
if(this.container_width() != "0px"){
container_props.style = "width: " + this.container_width() + ";";
} else {
container_props.style = "width: 100%";
}
I’m on GCE 2.9.3 btw