Fix date modal saving for new resources

feature/42358-standardise-date-pickers-drop-modal-portal
Benjamin Bädorf 2 years ago
parent 581d1b7ea9
commit df49549857
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 1
      frontend/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.ts
  2. 1
      spec/features/work_packages/new/new_work_package_spec.rb

@ -66,6 +66,7 @@ export class CombinedDateEditFieldComponent extends DatePickerEditFieldComponent
public save():void {
this.handler.handleUserSubmit();
this.onModalClosed();
}
public cancel():void {

@ -491,7 +491,6 @@ describe 'new work package', js: true do
date_field = split_create_page.edit_field(:combinedDate)
date_field.expect_value("#{parent.start_date} - #{parent.due_date}")
byebug
date_field.click_to_open_datepicker
date_field.update ['', parent.due_date]

Loading…
Cancel
Save