Open ghost opened 8 years ago
Is there anyway to get this fixed?
Closing old issues. Can be reopened if it's still an issue in the latest release.
Dates still disappear when using latest versions: aldeed:autoform@6.0.0 aldeed:autoform-bs-datepicker@2.0.0
Tried using a string instead of Date but still happens
Hello.
I am having the same problem with bootstrap-datetimepicker. When clicking on add or remove, all inputs get in blank.
"agendamentos.$.schedule": { type: Date, label: "Data e hora", autoForm: { afFieldInput: { type: "bootstrap-datetimepicker", dateTimePickerOptions: { format: 'DD/MM/YYYY HH:mm' } } } }
Pull working example from github, dateExample.
I posted this onto stack overflow and it has been flagged as a potential bug. So I was told to post this here.
The problem
Autoform generates a form with dates. The form works as an array and uses the bootstrap template which provides some
+-
buttons toadd
orremove
additional entries. When I usealdeed:autoform-bs-datepicker
a strange problem appears within the form. If you enter a date and hit the+-
buttons before saving, the dates disappear. If you don't useautoform-bs-datepicker
this problem goes away.Path:
packages.js
Path:
Schemas.js
Path:
dateExample.html