protected function beforeFill(): void
{
if(isset($this->record) && $this->record->exists) {
// Cycle through the columns and only leave the ones that are not empty
foreach ($this->record->getAttributes() as $key => $value) {
if (!empty($value)) {
unset($this->data[$key]);
}
}
}
}