Comments (3)
It seems to be a problem with Firefox, as it does not appear in Chromium.
from django-bootstrap-datepicker-plus.
Same problem with format DD/MM/YYYY. Only happens on Firefox, haven't found a solution yet. I'm gonna try to always send the data for the form in the form_kwargs["initial"], will report later.
from django-bootstrap-datepicker-plus.
Update for anyone facing this problem: adding attrs={"autocomplete": "off"}, whether on the fields in the form or in the settings, solves it. It prevents the browser from attempting to preserve user data on a soft-refresh, so the widget does not bug out when the format is different from the backend_date_format
from django-bootstrap-datepicker-plus.
Related Issues (20)
- You have to load jQuery before form.media. This message is only visible when DEBUG=True HOT 3
- Clear/deleting does NOT clear form value HOT 9
- Using custom JS to set a date is not working as expected HOT 1
- Datepicker opens only by icon
- Dark mode theme for calendar HOT 3
- Clear datepicker when form is reset
- TimePicker disappears with DateTimePicker HOT 2
- [BUG] Unable to make the Date(Time)PickerInput() widget use the current locale HOT 1
- Use of deprecated API of pydantic HOT 1
- Deprecation Warning
- form.media was not loaded? HOT 1
- Unable to open time picker from datetime picker in bootstrap modal form HOT 4
- Unable to open time picker from datetime picker in bootstrap HOT 2
- TimePickerInput does not honor time format HOT 1
- How to set picker value from custom javascript
- Unable to select time when using DatetimePickerInput HOT 17
- Getting console error "Cannot read properties of undefined (reading 'name')" for datepicker-widget.js:185 HOT 2
- Date picker on InlineFormset
- Doesn't support pydantic v2.0 (just released today) 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-bootstrap-datepicker-plus.