Modal Dialogue for Edit

i was using the below script in Listoption rendering in Version 2017. But this is not working in Version2019.
Please advise$the_id = $this->customer_id->CurrentValue;
$this->ListOptions->Items[“A1”]->Body = “”;
$this->ListOptions->Items[“A2”]->Body = “”;

Please change:
ModalDialogShowto:
ew.modalDialogShow

thanks. it works fine now.

good solution