Trait SpellCheck
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
Methods summary
public
string|null
|
#
GetSpellCheck( )
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
Returns
string|null Values could be default , true or false . Value NULL means to not render any attribute in HTML.
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck
|
public
MvcCore\Ext\Forms\Field
|
#
SetSpellCheck( string|boolean|null $spellCheck )
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
Parameters
- $spellCheck
- Values could be strings:
default , true or false or boolean values TRUE or FALSE . Value NULL means to not render any attribute in HTML.
Returns
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck
|
Properties summary
protected
string|null
|
$spellCheck
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
Setting the value of this attribute to TRUE indicates that the element needs
to have its spelling and grammar checked. The value default indicates that
the element is to act according to a default behaviour, possibly based on the
parent element's own spellcheck value. The value FALSE indicates that the
element should not be checked. Possible values are strings: default, trueor false.
Value NULL` means to not render any attribute in HTML.
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck
|
|