Class Select
Select Element
Auswahliste mit festen Einträgen aus der ein oder mehrere Einträge ausgewählt werden können. Der Text des ausgewählten Einträge werden übertragen, wenn der Anwender das Formular abschickt.
<select multiple="multiple" id="control-98e124f32f" name="Name" class="form-control"> <option value="key1">value1</option> <option value="key2">value2</option> <option selected value="key3">value3</option> <option value="key4">value4</option> </select>
id ID des Elements class CSS-Klasse multiple Multiple Attribut name Name des Elements options Optionen des Select-Elements data Data Attribut
- Alvine\Core\Alvine
- Alvine\UI\Element implements Alvine\Core\InstantiableFromProperties
- Alvine\UI\Form\Control
- Alvine\UI\Form\Control\Select
Namespace: Alvine\UI\Form\Control
Package: Alvine\UI
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150428
See: \Alvine\Types\Type
Link: alvine.io
Located at form/control/Select.class.php
Package: Alvine\UI
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150428
See: \Alvine\Types\Type
Link: alvine.io
Located at form/control/Select.class.php
public
|
#
__construct( string $name, string $label, string|Alvine\Types\Map|null $value = null, Alvine\Types\Map $options = null )
Neues Objekt |
public
|
|
protected
string
|
|
public
string
|
|
public static
|
__toString(),
getHtml(),
initAttributesFromProperties(),
setAttribute(),
setData(),
setPlaceholder(),
wrapAsAttribute()
|
$map,
$template
|