If simple "Value" not working then you can add renderer as below.
add below code in your form block e.g main.php
$fieldset->addType(
'htmldata',
'\Vendor\Module\Block\Adminhtml\Items\Renderer\Autofill'
);
$fieldset->addField(
'approval_note',
'htmldata',
['name' => 'approval_note', 'label' => __('Thank you Note'), 'title' => __('Product Cost Notes'), 'required' => false,'nl2br' => true,
'escape' => true]
);
add new file Autofill.php as per definded path in file "Vendor\Module\Block\Adminhtml\Items\Renderer" and add below code
<?php
namespace Vendor\Module\Block\Adminhtml\Items\Renderer;
/**
* CustomFormField Customformfield field renderer
*/
class Autofill extends \Magento\Framework\Data\Form\Element\AbstractElement
{
/**
* Get the after element html.
*
* @return mixed
*/
public function getElementHtml()
{
// here you can write your code.
if($this->getValue()){
$enquiryData = nl2br($this->getValue());
}else{
/*default value
$enquiryData = "Your default text here";
}
return $enquiryData;
}
}
accept as a solution and do upvote if its works for you.