Ira

Results 11 comments of Ira

I ran across this and just needed to add a bit of css: ``` .select2-results { color: #444 !important; } .select2-results__option[aria-selected="true"] { background-color: rgb(231, 76, 60, .8) !important; } ```

Not the cleanest, but assuming your field is called `location`, add to your template: ``` $( document ).ready(function() { document.getElementById('id_location').style.display = "none"; }); ```

Make sure you are not hiding the whole div -- `div_id_location_coordinates` will hide everything. The above code works for me. Post code from your model and template.

This seems like the what the inject node is designed to do.

I'm curious if this works for anyone. It does not appear that there's even a way to set the colors on the bar chart (there's not a `get_colors()` like there...

That is the code that is working on my system. I am brand new to both chart.js and this project, so feedback is welcome. Something I can't seem to figure...

What needs to be changed? I am using Django 5.0.3 with the current release of django-chartjs and it seems to work fine.

See https://github.com/summernote/summernote/pull/4604/ For now, add this code somewhere: ``` // Function to replace data-toggle with data-bs-toggle function replaceDataToggle() { document.querySelectorAll('[data-toggle="dropdown"]').forEach(function(el) { el.setAttribute('data-bs-toggle', 'dropdown'); el.removeAttribute('data-toggle'); }); } // Run on page...

The mutation observer I posted watches the document body so even stuff that's added later gets observed. It's working fine for me, maybe check the usual suspects like seeing if...