Comments (3)
This was originally a design choice. The dropdown's placeholder is replaced with the blank value dashes that I hate, so in turn I implemented empty values in a different way, overlooking this specifically. I can see the usefulness of it for others though.
So what I can do is display the empty_label
as long as the label is not the blank value dashes. ("---------", I hate those dashes!) If it is that specific number of dashes or None, no value empty value will be shown.
Do you think that would work for you?
from django-semanticui-forms.
I went through with that idea.
from django-semanticui-forms.
Absolutely. The empty_label is just for that purpose - to be there as the empty choice instead of dashes. Looking very forward to using your new implementation of this. Thanks!
from django-semanticui-forms.
Related Issues (20)
- Checkboxes are requiring intitialization with Javascript HOT 3
- Property added in forms.py does not come through to field HOT 1
- Metadata on <input type="number"> HOT 4
- Layout Requested HOT 3
- Placement of classes in forms.py HOT 2
- Formsets HOT 1
- data-value in dropdown HOT 9
- How to render icon inside search selection dropdown? HOT 1
- Initial ChoiceField value ignored when boolean
- Field div could have id allowing easily hooking up some JS
- ChoiceField breaks if choices is a callable
- Choice fields break with non-ascii choices
- ChoiceField Search always returns undefined HOT 1
- How to set style on FormSet?
- ModelChoiceField dropdown does not work
- Extend library
- Hidden fields render visible HOT 2
- Inline fields HOT 2
- Typo in Attributes explanation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-semanticui-forms.