Skip to content

Commit

Permalink
EntityBulkInsertDialog.dateInput null check for fieldKey
Browse files Browse the repository at this point in the history
  • Loading branch information
cnathe committed Jan 29, 2025
1 parent 19df506 commit 01719df
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,11 @@ public Input numericInput(String fieldKey)
return new Input(inputEl, getDriver());
}

public ReactDateTimePicker dateInput(String fieldName, String fieldKey)
public ReactDateTimePicker dateInput(String fieldName, @Nullable String fieldKey)
{
if (fieldKey == null)
fieldKey = fieldName;

return new ReactDateTimePicker.ReactDateTimeInputFinder(getDriver())
.withInputId(fieldKey).find(formRow(fieldName));
}
Expand Down

0 comments on commit 01719df

Please sign in to comment.