Skip to content

wamesk/laravel-nova-unit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Nova Units

Requirements

  • "laravel/nova": "^4.0|^5.0"

Usage

UnitSelect::make(__('product.field.weight_unit'), 'weight_unit'),

UnitSelect::make(__('product.field.weight_unit'), 'weight_unit')
    ->onlyGroups(UnitWeightEnum::class),

UnitSelect::make(__('product.field.weight_unit'), 'weight_unit')
    ->exceptGroups([
        UnitAreaEnum::class,
        UnitEnergyEnum::class,
        UnitWeightEnum::class,
        ...
    ]),

Enums

Enum Description
UnitAreaEnum Area units
UnitEnergyEnum Energy units
UnitLengthEnum Length units
UnitQuantityEnum Quantity units
UnitVolumeEnum Volume units
UnitWeightEnum Weight units

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages