Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I can see a colour attribute, e.g. "orange" goes into the HTML, but the slider remains grey.
I can see a colour attribute, e.g. "orange" goes into the HTML, but the slider remains grey.
Comments
Comment #1
RdeBoer... however colours do show in the demo form at examples/sliderfield/custom_form.
Comment #2
sinasalek CreditAttribution: sinasalek commentedThis is browser/theme related issue, the order of the styles in page matters.
Try other themes other than the one you're using
Comment #3
drupal_simply_amazing CreditAttribution: drupal_simply_amazing commentedIn the field setting you should change the range to minimum or maximum value.
Comment #4
GuyPaddock CreditAttribution: GuyPaddock commentedI'm seeing the same issue, using Bartik. The CSS class is applied but has no effect.
Comment #5
GuyPaddock CreditAttribution: GuyPaddock commentedOkay, it looks like the CSS only changes the colors of the border around the drag handle and the "range", which is the span between the min and max handles. If the control is not ranged (i.e. only a single drag handle), there's no range to style so it looks like the color has no effect.
Based on the screenshots of the module in action, I'd expect that there would be a range from 0 to the drag handle at least, but it doesn't appear one gets created in the latest version.
Leaving this active for now because this seems like a feature that got lost somehow.