Grails

datePicker noSelection does not work when editing a already persisted date

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 0.6-RC1
  • Fix Version/s: 1.1.1
  • Component/s: Controllers, Persistence, TagLib
  • Labels:
    None

Description

using datePicker with dateSelection can be used to have the possibility to enter not a date when the property is optional.

This works well in insert mode, resulting in a record created withoud date set.
Now when you update or insert a record with a date set, and update it again and make the date empty, the date is not updated. Thus is keeps the previous assigned date.

Issue Links

Activity

Hide
Marcel Overdijk added a comment -

I think this issue duplicates GRAILS-1793 which was resolved just a couple days ago.
Will test it in 1.1-beta3

Show
Marcel Overdijk added a comment - I think this issue duplicates GRAILS-1793 which was resolved just a couple days ago. Will test it in 1.1-beta3
Hide
Graeme Rocher added a comment -

duplicates GRAILS-1793

Show
Graeme Rocher added a comment - duplicates GRAILS-1793

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: