jazzband / django-smart-selects

chained and grouped selects for django forms
https://django-smart-selects.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.1k stars 348 forks source link

ChainedSelectMultiple widget doesnt update css on override #349

Closed DARKDEYMON closed 1 year ago

DARKDEYMON commented 1 year ago

ChainedSelectMultiple doesn't update de css extra attrs attrs.update(self.attrs)##< this is missing attrs["data-chainfield"] = chain_field attrs["data-url"] = url

codecov[bot] commented 1 year ago

Codecov Report

Merging #349 (b8457fd) into master (04a26ef) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
+ Coverage   80.42%   80.46%   +0.04%     
==========================================
  Files           8        8              
  Lines         470      471       +1     
  Branches       81       68      -13     
==========================================
+ Hits          378      379       +1     
  Misses         60       60              
  Partials       32       32              
Impacted Files Coverage Δ
smart_selects/widgets.py 66.48% <100.00%> (+0.18%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more