Hi there
I need some advise please, my 1 pager project is herein attached.
I have an ABMTable with edit functionality, I can 'Open' and 'Copy' each record as I need. The thing is as soon as I do an update of an entry in the modal sheet, whilst the record read from the db is correct, the ABMDatePicker does not get refreshed.
To Reproduce The Issue
1. Compile and run the app (please copy the www folder from your ABMaterial download and put it in the objects folder of the attached zipped project first)
2. Open app on localhost:51045/drpw
3. Click Edit to open any of the holiday entries (take notes of your dates in the modal sheet, these are correct, the logs will also indicate so)
4. Whilst one of the entries are opened on the modal sheet, click 'Save'
5. Back to the table, click Edit to open any of the holiday entries (take note of your date in the modal sheet, they reflect the last saved date. The logs show the correct date has been read from the database though)
6. Now if I exit this page and go to another page and come back to it and 'Edit' any of the records, the modal sheet reflects the correct dates even after the save.
The holidays table
After opening a record (see the log bottom right and the date on the datepicker in the modal sheet)
Opening another record after having done a save of another (the date in the modal sheet reflects the old saved date whilst the record read (bottom right logs) show the correct date)
The .Refresh method has been added to my datepicker source code.
Can someone please advise what I could be missing here please.
Thanks a lot.
I need some advise please, my 1 pager project is herein attached.
I have an ABMTable with edit functionality, I can 'Open' and 'Copy' each record as I need. The thing is as soon as I do an update of an entry in the modal sheet, whilst the record read from the db is correct, the ABMDatePicker does not get refreshed.
To Reproduce The Issue
1. Compile and run the app (please copy the www folder from your ABMaterial download and put it in the objects folder of the attached zipped project first)
2. Open app on localhost:51045/drpw
3. Click Edit to open any of the holiday entries (take notes of your dates in the modal sheet, these are correct, the logs will also indicate so)
4. Whilst one of the entries are opened on the modal sheet, click 'Save'
5. Back to the table, click Edit to open any of the holiday entries (take note of your date in the modal sheet, they reflect the last saved date. The logs show the correct date has been read from the database though)
6. Now if I exit this page and go to another page and come back to it and 'Edit' any of the records, the modal sheet reflects the correct dates even after the save.
The holidays table
After opening a record (see the log bottom right and the date on the datepicker in the modal sheet)
Opening another record after having done a save of another (the date in the modal sheet reflects the old saved date whilst the record read (bottom right logs) show the correct date)
The .Refresh method has been added to my datepicker source code.
Can someone please advise what I could be missing here please.
Thanks a lot.