You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! How to use bootstrap style to datalist?! As I understand its hard to use css style to datalist. So is it possible to use ul, li elements instead of datalist?
forms.py:
class SymbolForm(forms.ModelForm):
symbol = floppyforms.CharField(widget=floppyforms.TextInput(
datalist=['A', 'B', 'C'],
attrs={'autocomplete': 'off)}
))
class Meta:
model = Symbol
fields = ('symbol',)
The text was updated successfully, but these errors were encountered:
Hello! How to use bootstrap style to datalist?! As I understand its hard to use css style to datalist. So is it possible to use
ul
,li
elements instead ofdatalist
?forms.py:
The text was updated successfully, but these errors were encountered: