class TextInput extends Field implements CanBeLengthConstrained, CanHaveNumericState (View source)

Traits

Properties

static protected array $configurations from  Configurable
static protected array $importantConfigurations from  Configurable
protected string $evaluationIdentifier from  EvaluatesClosures
protected array $evaluationParametersToRemove from  EvaluatesClosures
protected string $view
protected array $viewData from  ViewComponent
protected string $viewIdentifier from  Field
static protected array $propertyCache from  ViewComponent
static protected array $methodCache from  ViewComponent
protected ComponentContainer $container from  BelongsToContainer
protected Model|string|Closure|null $model from  BelongsToModel
protected Closure|null $loadStateFromRelationshipsUsing from  BelongsToModel
protected Closure|null $saveRelationshipsUsing from  BelongsToModel
protected Closure|null $saveRelationshipsBeforeChildrenUsing from  BelongsToModel
protected bool|Closure $shouldSaveRelationshipsWhenHidden from  BelongsToModel
protected Component|bool|null $cachedConcealingComponent from  CanBeConcealed
protected bool|Closure $isDisabled from  CanBeDisabled
protected bool|Closure $isHidden from  CanBeHidden
protected bool|Closure $isVisible from  CanBeHidden
protected array $columnSpan from  CanSpanColumns
protected array $actions from  HasActions
protected Model|string|null $actionFormModel from  HasActions
protected array|Closure $childComponents from  HasChildComponents
protected string|Closure|null $fieldWrapperView from  HasFieldWrapper
protected bool|Closure|null $hasInlineLabel from  HasInlineLabel
protected string|Closure|null $id from  HasId
protected bool|Closure $isLabelHidden from  HasLabel
protected Htmlable|Closure|null $label from  HasLabel
protected bool $shouldTranslateLabel from  HasLabel
protected string|Closure|null $maxWidth from  HasMaxWidth
protected array $meta from  HasMeta
protected Closure|null $afterStateHydrated from  HasState
protected Closure|null $afterStateUpdated from  HasState
protected Closure|null $beforeStateDehydrated from  HasState
protected $defaultState from  HasState
protected Closure|null $dehydrateStateUsing from  HasState
protected Closure|null $mutateDehydratedStateUsing from  HasState
protected bool $hasDefaultState from  HasState
protected bool|Closure $isDehydrated from  HasState
protected string|null $statePath from  HasState
protected array $listeners from  ListensToEvents
protected array|null $columns from  HasColumns
protected array $extraAttributes from  HasExtraAttributes
protected $stateBindingModifiers from  HasStateBindingModifiers
protected string|int|null $debounce from  HasStateBindingModifiers
protected bool|Closure $isAutofocused from  CanBeAutofocused
protected bool|Closure $isRequired from  CanBeValidated
protected string|Closure|null $regexPattern from  CanBeValidated
protected array $rules from  CanBeValidated
protected string|Closure|null $validationAttribute from  CanBeValidated
protected Htmlable|Closure|null $helperText from  HasHelperText
protected Htmlable|Closure|null $hint from  HasHint
protected Action|Closure|null $hintAction from  HasHint
protected string|Closure|null $hintColor from  HasHint
protected string|Closure|null $hintIcon from  HasHint
protected string $name from  HasName
protected string|Closure|null $autocapitalize from  CanBeAutocapitalized
protected string|Closure|null $autocomplete from  CanBeAutocompleted
protected int|Closure|null $length from  CanBeLengthConstrained
protected int|Closure|null $maxLength from  CanBeLengthConstrained
protected int|Closure|null $minLength from  CanBeLengthConstrained
protected Action|Closure|null $suffixAction from  HasAffixes
protected string|Closure|null $suffixLabel from  HasAffixes
protected Action|Closure|null $prefixAction from  HasAffixes
protected string|Closure|null $prefixLabel from  HasAffixes
protected string|Closure|null $prefixIcon from  HasAffixes
protected string|Closure|null $suffixIcon from  HasAffixes
protected array $extraInputAttributes from  HasExtraInputAttributes
protected string|Closure|null $inputMode from  HasInputMode
protected string|Closure|null $placeholder from  HasPlaceholder
protected int|float|string|Closure|null $step from  HasStep
protected array $extraAlpineAttributes from  HasExtraAlpineAttributes
protected Closure|null $configureMaskUsing
protected Arrayable|Closure|null $datalistOptions
protected bool|Closure $isEmail
protected bool|Closure $isNumeric
protected bool|Closure $isPassword
protected bool|Closure $isTel
protected bool|Closure $isUrl
protected $maxValue
protected $minValue
protected string|Closure|null $telRegex
protected string|Closure|null $type

Methods

static 
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

array
resolveEvaluationParameter(string $parameter, Closure $value)

No description

bool
isEvaluationParameterRemoved(string $parameter)

No description

view(string $view, array $viewData = [])

No description

array
extractPublicProperties()

No description

array
extractPublicMethods()

No description

viewData(array $data)

No description

string
getView()

No description

string
toHtml()

No description

View
render()

No description

getLivewire()

No description

model(Model|string|Closure|null $model = null)

No description

void
saveRelationships()

No description

void
void
loadStateFromRelationships(bool $andHydrate = false)

No description

saveRelationshipsUsing(Closure|null $callback)

No description

saveRelationshipsWhenHidden(bool|Closure $condition = true)

No description

string|null
getModel()

No description

Model|null
getRecord()

No description

Model|null
getModelInstance()

No description

Component|null
getConcealingComponent()

No description

bool
isConcealed()

No description

disabled(bool|Closure $condition = true)

No description

disabledOn(string|array $contexts)

No description

bool
isDisabled()

No description

bool
isEnabled()

No description

hidden(bool|Closure $condition = true)

No description

hiddenOn(string|array $contexts)

No description

when(bool|Closure $condition = true)

No description

whenTruthy(string|array $paths)

No description

whenFalsy(string|array $paths)

No description

visible(bool|Closure $condition = true)

No description

visibleOn(string|array $contexts)

No description

bool
isHidden()

No description

columnSpan(array|int|string|Closure|null $span)

No description

array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)

No description

cloneChildComponents()

No description

getClone()

No description

registerActions(array $actions)

No description

Action|Closure|null
getAction(string $name)

No description

array
getActions()

No description

actionFormModel(Model|string|null $model)

No description

Model|string|null
getActionFormModel()

No description

bool
hasAction(string $name)

No description

childComponents(array|Closure $components)

No description

schema(array|Closure $components)

No description

array
getChildComponents()

No description

array
getChildComponentContainers(bool $withHidden = false)

No description

bool
hasChildComponentContainer(bool $withHidden = false)

No description

fieldWrapperView(string|Closure|null $view)

No description

string
getFieldWrapperView()

No description

string|null
getCustomFieldWrapperView()

No description

inlineLabel(bool|Closure|null $condition = true)

No description

bool|null
hasInlineLabel()

No description

id(string|Closure|null $id)

No description

from  HasId
string|null
getId()

No description

from  HasId
disableLabel(bool|Closure $condition = true)

No description

from  HasLabel
label(Htmlable|Closure|null $label)

No description

from  HasLabel
translateLabel(bool $shouldTranslateLabel = true)

No description

from  HasLabel
Htmlable|null
getLabel()

No description

from  HasLabel
bool
isLabelHidden()

No description

from  HasLabel
maxWidth(string|Closure|null $width)

No description

string|null
getMaxWidth()

No description

meta(string $key, $value)

No description

from  HasMeta
getMeta(string|array|null $keys = null)

No description

from  HasMeta
bool
hasMeta(string|array $keys)

No description

from  HasMeta
afterStateHydrated(Closure|null $callback)

No description

from  HasState
afterStateUpdated(Closure|null $callback)

No description

from  HasState
beforeStateDehydrated(Closure|null $callback)

No description

from  HasState
callAfterStateHydrated()

No description

from  HasState
callAfterStateUpdated()

No description

from  HasState
default($state)

No description

from  HasState
dehydrated(bool|Closure $condition = true)

No description

from  HasState
formatStateUsing(Closure|null $callback)

No description

from  HasState
array
getStateToDehydrate()

No description

from  HasState
void
dehydrateState(array $state)

No description

from  HasState
dehydrateStateUsing(Closure|null $callback)

No description

from  HasState
void
hydrateState(array|null $hydratedDefaultState)

No description

from  HasState
void
fill()

No description

from  HasState
void
hydrateDefaultState(array|null $hydratedDefaultState)

No description

from  HasState
void
fillStateWithNull()

No description

from  HasState
mutateDehydratedState($state)

No description

from  HasState
bool
mutatesDehydratedState()

No description

from  HasState
mutateDehydratedStateUsing(Closure|null $callback)

No description

from  HasState
state($state)

No description

from  HasState
statePath(string|null $path)

No description

from  HasState
getDefaultState()

No description

from  HasState
getState()

No description

from  HasState
getOldState()

No description

from  HasState
string
getStatePath(bool $isAbsolute = true)

No description

from  HasState
bool
hasDefaultState()

No description

from  HasState
bool
isDehydrated()

No description

from  HasState
getGetCallback()

No description

from  HasState
getSetCallback()

No description

from  HasState
string
generateRelativeStatePath(Component $path, bool $isAbsolute = false)

No description

from  HasState
dispatchEvent(string $event, ...$parameters)

No description

registerListeners(array $listeners)

No description

array
getListeners(string $event = null)

No description

columns(array|int|string|null $columns = 2)

No description

array|int|string|null
getColumns($breakpoint = null)

No description

array
getColumnsConfig()

No description

extraAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraAttributes()

No description

ComponentAttributeBag
getExtraAttributeBag()

No description

reactive(bool $condition = true)

No description

lazy(bool $condition = true)

No description

debounce(string|int|null $delay = '500ms')

No description

stateBindingModifiers(array|null $modifiers)

No description

string
applyStateBindingModifiers(string $expression, array $lazilyEntangledModifiers = [])

No description

bool
isReactive()

No description

bool
isLazy()

No description

bool
isDebounced()

No description

string|int|null
getDebounce()

No description

bool
shouldEvaluateWithState()

No description

autofocus(bool|Closure $condition = true)

No description

bool
isAutofocused()

No description

activeUrl(bool|Closure $condition = true)

No description

alpha(bool|Closure $condition = true)

No description

alphaDash(bool|Closure $condition = true)

No description

alphaNum(bool|Closure $condition = true)

No description

ascii(bool|Closure $condition = true)

No description

confirmed(bool|Closure $condition = true)

No description

doesntStartWith(Arrayable|string|Closure $values)

No description

doesntEndWith(Arrayable|string|Closure $values)

No description

endsWith(Arrayable|string|Closure $values)

No description

enum(string|Closure $enum)

No description

exists(string|Closure|null $table = null, string|Closure|null $column = null, Closure|null $callback = null)

No description

filled(bool|Closure $condition = true)

No description

in(Arrayable|string|Closure $values)

No description

ip(bool|Closure $condition = true)

No description

ipv4(bool|Closure $condition = true)

No description

ipv6(bool|Closure $condition = true)

No description

json(bool|Closure $condition = true)

No description

macAddress(bool|Closure $condition = true)

No description

multipleOf(int|Closure $value)

No description

notIn(Arrayable|string|Closure $values)

No description

notRegex(string|Closure|null $pattern)

No description

nullable(bool|Closure $condition = true)

No description

prohibited(bool|Closure $condition = true)

No description

required(bool|Closure $condition = true)

No description

requiredIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

requiredUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

requiredWith(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithout(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

requiredWithoutAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

regex(string|Closure|null $pattern)

No description

startsWith(Arrayable|string|Closure $values)

No description

string(bool|Closure $condition = true)

No description

uuid(bool|Closure $condition = true)

No description

rule(string|object $rule, bool|Closure $condition = true)

No description

rules(string|array $rules, bool|Closure $condition = true)

No description

after(string|Closure $date, bool $isStatePathAbsolute = false)

No description

afterOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

before(string|Closure $date, bool $isStatePathAbsolute = false)

No description

beforeOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

different(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

gt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

gte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

lt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

lte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

same(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

unique(string|Closure|null $table = null, string|Closure|null $column = null, Model|Closure $ignorable = null, Closure|null $callback = null, bool $ignoreRecord = false)

No description

validationAttribute(string|Closure|null $label)

No description

string|null
getRegexPattern()

No description

string
getRequiredValidationRule()

No description

string
getValidationAttribute()

No description

array
getValidationRules()

No description

void
dehydrateValidationRules(array $rules)

No description

void
dehydrateValidationAttributes(array $attributes)

No description

bool
isRequired()

No description

dateComparisonRule(string $rule, string|Closure $date, bool $isStatePathAbsolute = false)

No description

fieldComparisonRule(string $rule, string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

multiFieldComparisonRule(string $rule, array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

multiFieldValueComparisonRule(string $rule, string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

helperText(Htmlable|Closure|null $text)

No description

Htmlable|null
getHelperText()

No description

hint(Htmlable|Closure|null $hint)

No description

from  HasHint
hintColor(string|Closure|null $hintColor)

No description

from  HasHint
hintIcon(string|Closure|null $hintIcon)

No description

from  HasHint
hintAction(Action|Closure|null $action)

No description

from  HasHint
Htmlable|null
getHint()

No description

from  HasHint
string|null
getHintColor()

No description

from  HasHint
string|null
getHintIcon()

No description

from  HasHint
Action|null
getHintAction()

No description

from  HasHint
name(string $name)

No description

from  HasName
string
getName()

No description

from  HasName
__construct(string $name)

No description

from  Field
static Field
make(string $name)

No description

from  Field
autocapitalize(string|Closure|null $autocapitalize = 'on')

No description

disableAutocapitalize(bool|Closure $condition = true)

No description

string|null
getAutocapitalize()

No description

autocomplete(string|Closure|null $autocomplete = 'on')

No description

disableAutocomplete(bool|Closure $condition = true)

No description

string|null
getAutocomplete()

No description

length(int|Closure $length)

No description

maxLength(int|Closure $length)

No description

minLength(int|Closure $length)

No description

int|null
getLength()

No description

int|null
getMaxLength()

No description

int|null
getMinLength()

No description

prefix(string|Closure|null $label)

No description

postfix(string|Closure|null $label)

No description

prefixAction(Action|Closure|null $action)

No description

suffixAction(Action|Closure|null $action)

No description

suffix(string|Closure|null $label)

No description

prefixIcon(string|Closure|null $iconName)

No description

suffixIcon(string|Closure|null $iconName)

No description

Action|null
getPrefixAction()

No description

Action|null
getSuffixAction()

No description

getPrefixLabel()

No description

getPostfixLabel()

No description

getSuffixLabel()

No description

getPrefixIcon()

No description

getSuffixIcon()

No description

extraInputAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraInputAttributes()

No description

ComponentAttributeBag
getExtraInputAttributeBag()

No description

inputMode(string|Closure|null $mode)

No description

string|null
getInputMode()

No description

placeholder(string|Closure|null $placeholder)

No description

string|null
getPlaceholder()

No description

step(int|float|string|Closure|null $interval)

No description

from  HasStep
int|float|string|null
getStep()

No description

from  HasStep
extraAlpineAttributes(array|Closure $attributes, bool $merge = false)

No description

ComponentAttributeBag
getExtraAlpineAttributeBag()

No description

currentPassword(bool|Closure $condition = true)

No description

datalist(Arrayable|Closure|null $options)

No description

email(bool|Closure $condition = true)

No description

integer(bool|Closure $condition = true)

No description

mask(Closure|null $configuration)

No description

maxValue($value)

No description

minValue($value)

No description

numeric(bool|Closure $condition = true)

No description

password(bool|Closure $condition = true)

No description

tel(bool|Closure $condition = true)

No description

telRegex(string|Closure|null $regex)

No description

type(string|Closure|null $type)

No description

url(bool|Closure $condition = true)

No description

array|null
getDatalistOptions()

No description

Mask|null
getMask()

No description

string|null
getJsonMaskConfiguration()

No description

getMaxValue()

No description

getMinValue()

No description

string
getType()

No description

string
getTelRegex()

No description

bool
hasMask()

No description

bool
isEmail()

No description

bool
isNumeric()

No description

bool
isPassword()

No description

bool
isTel()

No description

bool
isUrl()

No description

Details

static configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $callback
Closure|null $during
bool $isImportant

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

evaluate($value, array $parameters = [], array $exceptParameters = [])

No description

Parameters

$value
array $parameters
array $exceptParameters

protected array getDefaultEvaluationParameters()

No description

Return Value

array

protected resolveEvaluationParameter(string $parameter, Closure $value)

No description

Parameters

string $parameter
Closure $value

protected bool isEvaluationParameterRemoved(string $parameter)

No description

Parameters

string $parameter

Return Value

bool

ViewComponent view(string $view, array $viewData = [])

No description

Parameters

string $view
array $viewData

Return Value

ViewComponent

protected array extractPublicProperties()

No description

Return Value

array

protected array extractPublicMethods()

No description

Return Value

array

ViewComponent viewData(array $data)

No description

Parameters

array $data

Return Value

ViewComponent

string getView()

No description

Return Value

string

string toHtml()

No description

Return Value

string

View render()

No description

Return Value

View

BelongsToContainer container(ComponentContainer $container)

No description

Parameters

ComponentContainer $container

Return Value

BelongsToContainer

ComponentContainer getContainer()

No description

Return Value

ComponentContainer

HasForms getLivewire()

No description

Return Value

HasForms

BelongsToModel model(Model|string|Closure|null $model = null)

No description

Parameters

Model|string|Closure|null $model

Return Value

BelongsToModel

void saveRelationships()

No description

Return Value

void

void saveRelationshipsBeforeChildren()

No description

Return Value

void

void loadStateFromRelationships(bool $andHydrate = false)

No description

Parameters

bool $andHydrate

Return Value

void

BelongsToModel saveRelationshipsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

BelongsToModel saveRelationshipsBeforeChildrenUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

BelongsToModel saveRelationshipsWhenHidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

BelongsToModel

bool shouldSaveRelationshipsWhenHidden()

No description

Return Value

bool

BelongsToModel loadStateFromRelationshipsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

BelongsToModel

string|null getModel()

No description

Return Value

string|null

Model|null getRecord()

No description

Return Value

Model|null

Model|null getModelInstance()

No description

Return Value

Model|null

Component|null getConcealingComponent()

No description

Return Value

Component|null

bool isConcealed()

No description

Return Value

bool

CanBeDisabled disabled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

CanBeDisabled disabledOn(string|array $contexts)

No description

Parameters

string|array $contexts

Return Value

CanBeDisabled

bool isDisabled()

No description

Return Value

bool

bool isEnabled()

No description

Return Value

bool

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenOn(string|array $contexts)

No description

Parameters

string|array $contexts

Return Value

CanBeHidden

CanBeHidden hiddenWhenAllChildComponentsHidden()

No description

Return Value

CanBeHidden

CanBeHidden when(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden whenTruthy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden whenFalsy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visibleOn(string|array $contexts)

No description

Parameters

string|array $contexts

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

CanSpanColumns columnSpan(array|int|string|Closure|null $span)

No description

Parameters

array|int|string|Closure|null $span

Return Value

CanSpanColumns

CanSpanColumns columnSpanFull()

No description

Return Value

CanSpanColumns

array|int|string|null getColumnSpan(int|string|null $breakpoint = null)

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

protected Cloneable cloneChildComponents()

No description

Return Value

Cloneable

Cloneable getClone()

No description

Return Value

Cloneable

HasActions registerActions(array $actions)

No description

Parameters

array $actions

Return Value

HasActions

Action|Closure|null getAction(string $name)

No description

Parameters

string $name

Return Value

Action|Closure|null

array getActions()

No description

Return Value

array

HasActions actionFormModel(Model|string|null $model)

No description

Parameters

Model|string|null $model

Return Value

HasActions

Model|string|null getActionFormModel()

No description

Return Value

Model|string|null

bool hasAction(string $name)

No description

Parameters

string $name

Return Value

bool

HasChildComponents childComponents(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasChildComponents

HasChildComponents schema(array|Closure $components)

No description

Parameters

array|Closure $components

Return Value

HasChildComponents

array getChildComponents()

No description

Return Value

array

ComponentContainer getChildComponentContainer($key = null)

No description

Parameters

$key

Return Value

ComponentContainer

array getChildComponentContainers(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

array

bool hasChildComponentContainer(bool $withHidden = false)

No description

Parameters

bool $withHidden

Return Value

bool

HasFieldWrapper fieldWrapperView(string|Closure|null $view)

No description

Parameters

string|Closure|null $view

Return Value

HasFieldWrapper

string getFieldWrapperView()

No description

Return Value

string

string|null getCustomFieldWrapperView()

No description

Return Value

string|null

HasInlineLabel inlineLabel(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

HasInlineLabel

bool|null hasInlineLabel()

No description

Return Value

bool|null

HasId id(string|Closure|null $id)

No description

Parameters

string|Closure|null $id

Return Value

HasId

string|null getId()

No description

Return Value

string|null

HasLabel disableLabel(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasLabel

HasLabel label(Htmlable|Closure|null $label)

No description

Parameters

Htmlable|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

Htmlable|null getLabel()

No description

Return Value

Htmlable|null

bool isLabelHidden()

No description

Return Value

bool

HasMaxWidth maxWidth(string|Closure|null $width)

No description

Parameters

string|Closure|null $width

Return Value

HasMaxWidth

string|null getMaxWidth()

No description

Return Value

string|null

HasMeta meta(string $key, $value)

No description

Parameters

string $key
$value

Return Value

HasMeta

getMeta(string|array|null $keys = null)

No description

Parameters

string|array|null $keys

bool hasMeta(string|array $keys)

No description

Parameters

string|array $keys

Return Value

bool

HasState afterStateHydrated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState afterStateUpdated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState beforeStateDehydrated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState callAfterStateHydrated()

No description

Return Value

HasState

HasState callAfterStateUpdated()

No description

Return Value

HasState

HasState callBeforeStateDehydrated()

No description

Return Value

HasState

HasState default($state)

No description

Parameters

$state

Return Value

HasState

HasState dehydrated(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasState

HasState formatStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

array getStateToDehydrate()

No description

Return Value

array

void dehydrateState(array $state)

No description

Parameters

array $state

Return Value

void

HasState dehydrateStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

void hydrateState(array|null $hydratedDefaultState)

No description

Parameters

array|null $hydratedDefaultState

Return Value

void

void fill()

No description

Return Value

void

void hydrateDefaultState(array|null $hydratedDefaultState)

No description

Parameters

array|null $hydratedDefaultState

Return Value

void

void fillStateWithNull()

No description

Return Value

void

mutateDehydratedState($state)

No description

Parameters

$state

bool mutatesDehydratedState()

No description

Return Value

bool

HasState mutateDehydratedStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasState

HasState state($state)

No description

Parameters

$state

Return Value

HasState

HasState statePath(string|null $path)

No description

Parameters

string|null $path

Return Value

HasState

getDefaultState()

No description

getState()

No description

getOldState()

No description

string getStatePath(bool $isAbsolute = true)

No description

Parameters

bool $isAbsolute

Return Value

string

protected bool hasDefaultState()

No description

Return Value

bool

bool isDehydrated()

No description

Return Value

bool

protected Closure getGetCallback()

No description

Return Value

Closure

protected Closure getSetCallback()

No description

Return Value

Closure

protected string generateRelativeStatePath(Component $path, bool $isAbsolute = false)

No description

Parameters

Component $path
bool $isAbsolute

Return Value

string

ListensToEvents dispatchEvent(string $event, ...$parameters)

No description

Parameters

string $event
...$parameters

Return Value

ListensToEvents

ListensToEvents registerListeners(array $listeners)

No description

Parameters

array $listeners

Return Value

ListensToEvents

array getListeners(string $event = null)

No description

Parameters

string $event

Return Value

array

HasColumns columns(array|int|string|null $columns = 2)

No description

Parameters

array|int|string|null $columns

Return Value

HasColumns

array|int|string|null getColumns($breakpoint = null)

No description

Parameters

$breakpoint

Return Value

array|int|string|null

array getColumnsConfig()

No description

Return Value

array

HasExtraAttributes extraAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraAttributes

array getExtraAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraAttributeBag()

No description

Return Value

ComponentAttributeBag

HasStateBindingModifiers reactive(bool $condition = true)

No description

Parameters

bool $condition

Return Value

HasStateBindingModifiers

HasStateBindingModifiers lazy(bool $condition = true)

No description

Parameters

bool $condition

Return Value

HasStateBindingModifiers

HasStateBindingModifiers debounce(string|int|null $delay = '500ms')

No description

Parameters

string|int|null $delay

Return Value

HasStateBindingModifiers

HasStateBindingModifiers stateBindingModifiers(array|null $modifiers)

No description

Parameters

array|null $modifiers

Return Value

HasStateBindingModifiers

string applyStateBindingModifiers(string $expression, array $lazilyEntangledModifiers = [])

No description

Parameters

string $expression
array $lazilyEntangledModifiers

Return Value

string

array getStateBindingModifiers()

No description

Return Value

array

bool isReactive()

No description

Return Value

bool

bool isLazy()

No description

Return Value

bool

bool isDebounced()

No description

Return Value

bool

string|int|null getDebounce()

No description

Return Value

string|int|null

protected bool shouldEvaluateWithState()

No description

Return Value

bool

CanBeAutofocused autofocus(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeAutofocused

bool isAutofocused()

No description

Return Value

bool

CanBeValidated activeUrl(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alpha(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alphaDash(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated alphaNum(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ascii(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated confirmed(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated doesntStartWith(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated doesntEndWith(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated endsWith(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated enum(string|Closure $enum)

No description

Parameters

string|Closure $enum

Return Value

CanBeValidated

CanBeValidated exists(string|Closure|null $table = null, string|Closure|null $column = null, Closure|null $callback = null)

No description

Parameters

string|Closure|null $table
string|Closure|null $column
Closure|null $callback

Return Value

CanBeValidated

CanBeValidated filled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated in(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated ip(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ipv4(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated ipv6(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated json(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated macAddress(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated multipleOf(int|Closure $value)

No description

Parameters

int|Closure $value

Return Value

CanBeValidated

CanBeValidated notIn(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated notRegex(string|Closure|null $pattern)

No description

Parameters

string|Closure|null $pattern

Return Value

CanBeValidated

CanBeValidated nullable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated prohibited(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated required(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated requiredIf(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredUnless(string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWith(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithout(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated requiredWithoutAll(string|array|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string|array|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated regex(string|Closure|null $pattern)

No description

Parameters

string|Closure|null $pattern

Return Value

CanBeValidated

CanBeValidated startsWith(Arrayable|string|Closure $values)

No description

Parameters

Arrayable|string|Closure $values

Return Value

CanBeValidated

CanBeValidated string(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated uuid(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated rule(string|object $rule, bool|Closure $condition = true)

No description

Parameters

string|object $rule
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated rules(string|array $rules, bool|Closure $condition = true)

No description

Parameters

string|array $rules
bool|Closure $condition

Return Value

CanBeValidated

CanBeValidated after(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated afterOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated before(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated beforeOrEqual(string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated different(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated gt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated gte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated lt(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated lte(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated same(string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated unique(string|Closure|null $table = null, string|Closure|null $column = null, Model|Closure $ignorable = null, Closure|null $callback = null, bool $ignoreRecord = false)

No description

Parameters

string|Closure|null $table
string|Closure|null $column
Model|Closure $ignorable
Closure|null $callback
bool $ignoreRecord

Return Value

CanBeValidated

CanBeValidated validationAttribute(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

CanBeValidated

string|null getRegexPattern()

No description

Return Value

string|null

string getRequiredValidationRule()

No description

Return Value

string

string getValidationAttribute()

No description

Return Value

string

array getValidationRules()

No description

Return Value

array

void dehydrateValidationRules(array $rules)

No description

Parameters

array $rules

Return Value

void

void dehydrateValidationAttributes(array $attributes)

No description

Parameters

array $attributes

Return Value

void

bool isRequired()

No description

Return Value

bool

CanBeValidated dateComparisonRule(string $rule, string|Closure $date, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $date
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated fieldComparisonRule(string $rule, string|Closure $statePath, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $statePath
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated multiFieldComparisonRule(string $rule, array|string|Closure $statePaths, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
array|string|Closure $statePaths
bool $isStatePathAbsolute

Return Value

CanBeValidated

CanBeValidated multiFieldValueComparisonRule(string $rule, string|Closure $statePath, mixed $stateValues, bool $isStatePathAbsolute = false)

No description

Parameters

string $rule
string|Closure $statePath
mixed $stateValues
bool $isStatePathAbsolute

Return Value

CanBeValidated

HasHelperText helperText(Htmlable|Closure|null $text)

No description

Parameters

Htmlable|Closure|null $text

Return Value

HasHelperText

Htmlable|null getHelperText()

No description

Return Value

Htmlable|null

HasHint hint(Htmlable|Closure|null $hint)

No description

Parameters

Htmlable|Closure|null $hint

Return Value

HasHint

HasHint hintColor(string|Closure|null $hintColor)

No description

Parameters

string|Closure|null $hintColor

Return Value

HasHint

HasHint hintIcon(string|Closure|null $hintIcon)

No description

Parameters

string|Closure|null $hintIcon

Return Value

HasHint

HasHint hintAction(Action|Closure|null $action)

No description

Parameters

Action|Closure|null $action

Return Value

HasHint

Htmlable|null getHint()

No description

Return Value

Htmlable|null

string|null getHintColor()

No description

Return Value

string|null

string|null getHintIcon()

No description

Return Value

string|null

Action|null getHintAction()

No description

Return Value

Action|null

HasName name(string $name)

No description

Parameters

string $name

Return Value

HasName

string getName()

No description

Return Value

string

final __construct(string $name)

No description

Parameters

string $name

static Field make(string $name)

No description

Parameters

string $name

Return Value

Field

CanBeAutocapitalized autocapitalize(string|Closure|null $autocapitalize = 'on')

No description

Parameters

string|Closure|null $autocapitalize

Return Value

CanBeAutocapitalized

CanBeAutocapitalized disableAutocapitalize(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeAutocapitalized

string|null getAutocapitalize()

No description

Return Value

string|null

CanBeAutocompleted autocomplete(string|Closure|null $autocomplete = 'on')

No description

Parameters

string|Closure|null $autocomplete

Return Value

CanBeAutocompleted

CanBeAutocompleted disableAutocomplete(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeAutocompleted

string|null getAutocomplete()

No description

Return Value

string|null

CanBeLengthConstrained length(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained maxLength(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained minLength(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

int|null getLength()

No description

Return Value

int|null

int|null getMaxLength()

No description

Return Value

int|null

int|null getMinLength()

No description

Return Value

int|null

HasAffixes prefix(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

HasAffixes

HasAffixes postfix(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

HasAffixes

HasAffixes prefixAction(Action|Closure|null $action)

No description

Parameters

Action|Closure|null $action

Return Value

HasAffixes

HasAffixes suffixAction(Action|Closure|null $action)

No description

Parameters

Action|Closure|null $action

Return Value

HasAffixes

HasAffixes suffix(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

HasAffixes

HasAffixes prefixIcon(string|Closure|null $iconName)

No description

Parameters

string|Closure|null $iconName

Return Value

HasAffixes

HasAffixes suffixIcon(string|Closure|null $iconName)

No description

Parameters

string|Closure|null $iconName

Return Value

HasAffixes

Action|null getPrefixAction()

No description

Return Value

Action|null

Action|null getSuffixAction()

No description

Return Value

Action|null

getPrefixLabel()

No description

getPostfixLabel()

No description

getSuffixLabel()

No description

getPrefixIcon()

No description

getSuffixIcon()

No description

HasExtraInputAttributes extraInputAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraInputAttributes

array getExtraInputAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraInputAttributeBag()

No description

Return Value

ComponentAttributeBag

HasInputMode inputMode(string|Closure|null $mode)

No description

Parameters

string|Closure|null $mode

Return Value

HasInputMode

string|null getInputMode()

No description

Return Value

string|null

HasPlaceholder placeholder(string|Closure|null $placeholder)

No description

Parameters

string|Closure|null $placeholder

Return Value

HasPlaceholder

string|null getPlaceholder()

No description

Return Value

string|null

HasStep step(int|float|string|Closure|null $interval)

No description

Parameters

int|float|string|Closure|null $interval

Return Value

HasStep

int|float|string|null getStep()

No description

Return Value

int|float|string|null

HasExtraAlpineAttributes extraAlpineAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraAlpineAttributes

array getExtraAlpineAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraAlpineAttributeBag()

No description

Return Value

ComponentAttributeBag

TextInput currentPassword(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput datalist(Arrayable|Closure|null $options)

No description

Parameters

Arrayable|Closure|null $options

Return Value

TextInput

TextInput email(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput integer(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput mask(Closure|null $configuration)

No description

Parameters

Closure|null $configuration

Return Value

TextInput

TextInput maxValue($value)

No description

Parameters

$value

Return Value

TextInput

TextInput minValue($value)

No description

Parameters

$value

Return Value

TextInput

TextInput numeric(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput password(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput tel(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

TextInput telRegex(string|Closure|null $regex)

No description

Parameters

string|Closure|null $regex

Return Value

TextInput

TextInput type(string|Closure|null $type)

No description

Parameters

string|Closure|null $type

Return Value

TextInput

TextInput url(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

TextInput

array|null getDatalistOptions()

No description

Return Value

array|null

Mask|null getMask()

No description

Return Value

Mask|null

string|null getJsonMaskConfiguration()

No description

Return Value

string|null

getMaxValue()

No description

getMinValue()

No description

string getType()

No description

Return Value

string

string getTelRegex()

No description

Return Value

string

bool hasMask()

No description

Return Value

bool

bool isEmail()

No description

Return Value

bool

bool isNumeric()

No description

Return Value

bool

bool isPassword()

No description

Return Value

bool

bool isTel()

No description

Return Value

bool

bool isUrl()

No description

Return Value

bool