Closed mpena2099 closed 4 years ago
When you say it doesn't work, what do you mean? Is the empty label not what you expect? What label do you expect? What label shows up?
@blag , thanks for your reply.
You can see what I mean in http://www.autofive.com.br/veiculos/ . I do not know how to change de label "--------" on the second select field in that page.
Thanks! Mauricio
self.fields['category'].empty_label = 'SELECT CATEGORY' <--- works self.fields['subcategory'].empty_label = 'SELECT CATEGORY' <--- Does not work
any solutions to this?
@mpena2099 can you reproduce with latest master version?
Closing due to inactivity
this is still not working. latest master.
Checklist
Put an
x
in the bracket when you have completed each task, like this:[x]
master
branch of django-smart-selects.smart_selects
app.models.py
,forms.py
, andviews.py
with problems.Steps to reproduce
Actual behavior
Setting the empty_label do not work on ChainedForeignKey.
Thanks! Mauricio