trait CanDisableOptions (View source)

Properties

protected bool|Closure|null $isOptionDisabled

Methods

disableOptionWhen(bool|Closure $callback)

No description

bool
isOptionDisabled($value, string $label)

No description

Details

CanDisableOptions disableOptionWhen(bool|Closure $callback)

No description

Parameters

bool|Closure $callback

Return Value

CanDisableOptions

bool isOptionDisabled($value, string $label)

No description

Parameters

$value
string $label

Return Value

bool