protected
|
#
preDispatchNullOptionText( )
Automatically translate nullOptionText property if necessary
in PreDispatch() field rendering moment.
Automatically translate nullOptionText property if necessary
in PreDispatch() field rendering moment.
|
public
string|null
|
#
GetNullOptionText( )
This attribute is a text placeholder for <select> controls,
when no option is selected yet. Typically: --- please select an option --- .
It's rendered every time this placeholder has any text value, doesn't matter,
if <select> tag has already any value selected or not yet . It's rendered usually
as first <option> sub-element with an empty value, as disabled and selected
<option> tag. NULL value means no placeholder <option> tag will be rendered.
This attribute is a text placeholder for <select> controls,
when no option is selected yet. Typically: --- please select an option --- .
It's rendered every time this placeholder has any text value, doesn't matter,
if <select> tag has already any value selected or not yet . It's rendered usually
as first <option> sub-element with an empty value, as disabled and selected
<option> tag. NULL value means no placeholder <option> tag will be rendered.
Returns
string|null
|
public
MvcCore\Ext\Forms\Field
|
#
SetNullOptionText( string|null $nullOptionText, boolean|null $translateNullOptionText = NULL )
This attribute is a text placeholder for <select> controls,
when no option is selected yet. Typically: --- please select an option --- .
It's rendered every time this placeholder has any text value, doesn't matter,
if <select> tag has already any value selected or not yet . It's rendered usually
as first <option> sub-element with an empty value, as disabled and selected
<option> tag. NULL value means no placeholder <option> tag will be rendered.
This attribute is a text placeholder for <select> controls,
when no option is selected yet. Typically: --- please select an option --- .
It's rendered every time this placeholder has any text value, doesn't matter,
if <select> tag has already any value selected or not yet . It's rendered usually
as first <option> sub-element with an empty value, as disabled and selected
<option> tag. NULL value means no placeholder <option> tag will be rendered.
Parameters
- $nullOptionText
- $translateNullOptionText
Returns
|