trait CanDisableOptions (View source)

Properties

protected bool|Closure|null $isOptionDisabled

Methods

disableOptionWhen(bool|Closure $callback)

No description

array
getEnabledOptions()

No description

bool
isOptionDisabled(array-key $value, string $label)

No description

bool
hasDynamicDisabledOptions()

No description

Details

CanDisableOptions disableOptionWhen(bool|Closure $callback)

No description

Parameters

bool|Closure $callback

Return Value

CanDisableOptions

array getEnabledOptions()

No description

Return Value

array

bool isOptionDisabled(array-key $value, string $label)

No description

Parameters

array-key $value
string $label

Return Value

bool

bool hasDynamicDisabledOptions()

No description

Return Value

bool