DEFAULT_INPUT_TYPE
DEFAULT_INPUT_TYPE
Tags Input Property
The HTML form control can be either an <input type="text"> (for multiple values)
or a <select> (single value).
addSelectOption(string $key, mixed $val) : \Charcoal\Admin\Property\Input\Selectinput
Add (or replace) an select picker option.
| string | $key | The setting to add/replace. | 
| mixed | $val | The setting's value to apply. | 
If the identifier is not a string.
Chainable
setEmptyChoice(array|string  $choice) : \Charcoal\Admin\Property\PropertyInputInterface
                Set the empty option's structure.
| array|string | $choice | The property value. | 
If the choice structure is invalid.
Chainable
setData(array  $data) : \Charcoal\Admin\Property\AbstractPropertyInput
                This function takes an array and fill the model object with its value.
This method either calls a setter for each key (set_{$key}()) or sets a public member.
For example, calling with setData(['properties'=>$properties]) would call
setProperties($properties), becasue setProperties() exists.
But calling with setData(['foobar'=>$foo]) would set the $foobar member
on the metadata object, because the method set_foobar() does not exist.
| array | $data | The input data. | 
Chainable
setPropertyVal(mixed  $val) : \Charcoal\Admin\Property\PropertyInputInterface
                
| mixed | $val | The property value. | 
Chainable
setLang(string  $lang) : \Charcoal\Admin\Property\PropertyInputInterface
                
| string | $lang | The language code / ident. | 
Chainable
setPlaceholder(mixed  $placeholder) : \Charcoal\Admin\Property\AbstractPropertyInput
                Set the form control's placeholder.
A placeholder is a hint to the user of what can be entered in the property control.
| mixed | $placeholder | The placeholder attribute. | 
Chainable
setInputId(string  $inputId) : \Charcoal\Admin\Property\AbstractPropertyInput
                Set the input ID.
Used for the HTML "ID" attribute.
| string | $inputId | HTML input id attribute. | 
Chainable
setInputClass(string  $inputClass) : \Charcoal\Admin\Property\AbstractPropertyInput
                
| string | $inputClass | The input class attribute. | 
If the class is not a string.
Chainable
setInputName(string  $inputName) : \Charcoal\Admin\Property\AbstractPropertyInput
                Set the input name.
Used for the HTML "name" attribute.
| string | $inputName | HTML input id attribute. | 
Chainable
setInputMode(string  $inputMode) : \Charcoal\Admin\Property\AbstractPropertyInput
                Set the hint to the browser for which keyboard to display.
| string | $inputMode | The input type. | 
If the provided argument is not a string.
Chainable
setInputType(string  $inputType) : \Charcoal\Admin\Property\AbstractPropertyInput
                
| string | $inputType | The input type. | 
If the provided argument is not a string.
Chainable
hasInputAffix() : boolean
Determine if the property has an affix.
<input>s onlyAvoid using <select> elements here as they cannot be fully styled in WebKit browsers.
Avoid using <textarea> elements here as their rows attribute will
not be respected in some cases.
setType(string  $type) : \Charcoal\Admin\Property\AbstractPropertyInput
                Set the control type for the HTML element `<input>`.
| string | $type | The control type. | 
If the provided argument is not a string.
Chainable
setProperty(\Charcoal\Property\PropertyInterface  $p) : \Charcoal\Admin\Property\AbstractPropertyInput
                
| \Charcoal\Property\PropertyInterface | $p | The property. | 
Chainable
setSelectizeOptions(array  $settings) : \Charcoal\Admin\Property\Input\Selectize\TagsInput
                Set the selectize picker's options.
This method overwrites existing helpers.
| array | $settings | The selectize picker options. | 
Chainable