8๐
โ
You can assign a placeholder like it is done with an ordinary django form
class AdvancedSearchInboxFilter(django_filters.FilterSet):
received = django_filters.DateFromToRangeFilter(
label='Received Date Range',
widget=django_filters.widgets.RangeWidget(attrs={'placeholder': 'yyyy/mm/dd'}))
class Meta:
model = File
fields = ['received']
๐คv1k45
Source:stackexchange.com