Dont add hints for internal attributes. Our hints now also returns a collection.

This commit is contained in:
2025-04-08 11:04:31 +10:00
parent 66537dcec8
commit 6b2fb8dee4
2 changed files with 9 additions and 6 deletions

View File

@@ -24,11 +24,11 @@ final class RDN extends Attribute
};
}
public function hints(): array
public function hints(): Collection
{
return [
return collect([
'required' => __('RDN is required')
];
]);
}
public function render(bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE): View