FIX: Load DateTime from search template

This commit is contained in:
Alexander Koblov 2024-11-24 22:30:43 +03:00
commit 863cebc19a

View file

@ -330,8 +330,8 @@ begin
if (WdxField.FType <> FT_MULTIPLECHOICE) then
begin
if (WdxField.FType < FT_DATE) then
FEditValue.Text:=AValue
else if (WdxField.FType < FT_STRING) then
FEditValue.Text:= AValue
else if (WdxField.FType in [FT_DATE, FT_TIME, FT_DATETIME]) then
FDateTimeValue.DateTime:= AValue
else
FComboValue.Text := AValue;