Skip to content

Commit

Permalink
fix: GetValue missing for quick create datetimes (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewingjm authored Dec 16, 2020
1 parent ee59579 commit 60cfc59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ public string GetValue(string field)
return _client.GetValue(field);
}

/// <summary>
/// Gets the value of a DateTime field in the quick create form.
/// </summary>
/// <param name="control">The control.</param>
/// <returns>The value.</returns>
public DateTime? GetValue(DateTimeControl control)
{
return _client.GetValue(control);
}

/// <summary>
/// Gets the value of a LookupItem field in the quick create form
/// </summary>
Expand Down

0 comments on commit 60cfc59

Please sign in to comment.