mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 06:27:51 +02:00
* Support OldValue
This commit is contained in:
parent
431727c61e
commit
5113c4f198
@ -777,9 +777,19 @@ var
|
||||
|
||||
begin
|
||||
if (FEditIdx=Buffer.Bookmark) then
|
||||
R:=FEditRow
|
||||
begin
|
||||
if State=dsOldValue then
|
||||
R:=Buffer.data
|
||||
else
|
||||
R:=FEditRow
|
||||
end
|
||||
else
|
||||
R:=Buffer.data;
|
||||
begin
|
||||
if State=dsOldValue then
|
||||
Exit(Null)
|
||||
else
|
||||
R:=Buffer.data;
|
||||
end;
|
||||
Result:=FFieldMapper.GetJSONDataForField(Field,R);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user