Showcase for the TextBoxListComponent
TextBoxList 1
The two initial items are added while instantiating this demo controller.
Config:
- AllowDuplicates: false
- AllowNewValues: false (only the values from autocompletion can
be added)
As autocompletion-values, a list of three words is defined: "Dog", "Clown" and "Haus"
$r.render("testTextbox")
TextBoxList 2
In this example, no initial values are set. It is allowed to add whatever you want.
Config:
- AllowDuplicates: true
- AllowNewValues: true
No autocompletion-values are defined
$r.render("testTextbox2")
TextBoxList 3
In this example, no initial items are set. It is forbidden to add duplicates!
Config:
- AllowDuplicates: false
- AllowNewValues: true
No autocompletion-values are defined
$r.render("testTextbox3")
TextBoxList 4
In this example, we have again our 3 autocompletion values. New values are allowed! Duplicates are allowed!
Config:
- AllowDuplicates: true
- AllowNewValues: true
$r.render("testTextbox4")