Downloads
Stars
Version
A simple field for Laravel Nova that validates IBANs.
composer require nembie/nova-iban-field
use Nembie\NovaIbanField\NovaIbanField;
...
public function fields(Request $request)
{
return [
NovaIbanField::make(__('Custom IBAN Label'), 'iban_column')->showDetails()
];
}
showDetails()
- shows the information given by IBAN on the resource detail pagehideActionsOnIndex()
- hide the actions on the index (copy and show/hide)alwaysHideOnIndex()
- "crypt" the IBAN in the index pageFull list of supported countries