trait HasPlaceholder (View source)

Properties

protected string|null $placeholder

Methods

placeholder(string $placeholder)

Sets the placeholder of the field.

Details

HasPlaceholder placeholder(string $placeholder)

Sets the placeholder of the field.

Parameters

string $placeholder

Return Value

HasPlaceholder