diff --git a/demo/combo-box-advanced-demos.html b/demo/combo-box-advanced-demos.html
deleted file mode 100644
index 6e7fde29c..000000000
--- a/demo/combo-box-advanced-demos.html
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
- Configuring Icons
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Replacing the Input with an <iron-input>
-
-
-
-
-
-
-
-
-
-
-
-
- Replacing the Input with a <paper-input>
-
-
-
-
-
- Clear
- Toggle
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/combo-box-basic-demos.html b/demo/combo-box-basic-demos.html
index d4efa74ea..9c271823f 100644
--- a/demo/combo-box-basic-demos.html
+++ b/demo/combo-box-basic-demos.html
@@ -6,100 +6,34 @@
}
+
Combo Box
- Configuring the Combo Box
-
-
+
-
-
-
+
- Selecting a Value
-
-
-
- Selected value: .
-
-
-
-
-
-
- Using as a Form Field
-
-
-
-
-
-
-
-
-
-
+ Configuring the Combo Box
- Change Event
-
+
-
- Set random value
+
+
+
@@ -110,12 +44,12 @@ Allow Custom Values
Allow the user to set any value for the field in addition to selecting a value from the dropdown menu.
-
+
Selected value:
diff --git a/demo/combo-box-item-template-demos.html b/demo/combo-box-item-template-demos.html
deleted file mode 100644
index f12b998e5..000000000
--- a/demo/combo-box-item-template-demos.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
- Custom Item Template
-
-
-
-
-
- [[item.name]], [[item.number]] [[item.symbol]]
- array index: [[index]]
-
-
-
-
-
-
-
-
- Focused and Selected Flags
-
-
-
-
-
- [[item]]
- selected: [[selected]], focused: [[focused]]
-
-
-
-
-
-
-
-
- Styling Items with Custom Item Element
-
-
-
-
-
-
-
-
-
-
- [[item.number]] [[item.symbol]]
-
- [[item.name]]
- [[index]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Item Template with Paper Item Elements
-
-
-
-
-
-
-
-
- [[item.name.first]] [[item.name.last]]
- [[item.email]]
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/combo-box-objects-demos.html b/demo/combo-box-objects-demos.html
deleted file mode 100644
index c21c6351a..000000000
--- a/demo/combo-box-objects-demos.html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
- Default Label and Value
-
-
-
-
- Selected item: .
- Value: .
-
-
-
-
-
-
- Setting Label and Value Path
-
-
-
-
- Selected element name: .
- Value: .
-
-
-
-
-
-
- Object Items with the Same Value
-
-
-
-
- Selected Item: .
- Value: .
-
-
-
-
-
-
-
-
-
diff --git a/demo/combo-box-styling-demos.html b/demo/combo-box-styling-demos.html
new file mode 100644
index 000000000..839332cb1
--- /dev/null
+++ b/demo/combo-box-styling-demos.html
@@ -0,0 +1,117 @@
+
+
+
+
+
+ Customizing Item Template
+
+
+
+
+ [[item.name]], [[item.number]] [[item.symbol]]
+ array index: [[index]]
+
+
+
+
+
+
+
+ Configuring Icons
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Replacing the Input
+
+ If you are using other custom input fields like <iron-input>, you
+ need to define the name of the bindable property with the `attrForValue` attribute.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Using Focused and Selected Flags
+
+
+
+
+
+ [[item]]
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/combo-box-validation-demos.html b/demo/combo-box-validation-demos.html
new file mode 100644
index 000000000..9cf6bb58d
--- /dev/null
+++ b/demo/combo-box-validation-demos.html
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Using as a Form Field
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/demos.json b/demo/demos.json
index 13dd07ab4..afed2bda6 100644
--- a/demo/demos.json
+++ b/demo/demos.json
@@ -13,44 +13,33 @@
}
,
{
- "name": "Object Items",
- "url": "combo-box-objects-demos",
- "src": "combo-box-objects-demos.html",
+ "name": "Validation",
+ "url": "combo-box-validation-demos",
+ "src": "combo-box-validation-demos.html",
"meta": {
- "title": "Vaadin Combo Box Object Items Examples",
+ "title": "Vaadin Combo Validation Examples",
"description": "",
"image": ""
}
}
,
{
- "name": "Item Template Demos",
- "url": "combo-box-item-template-demos",
- "src": "combo-box-item-template-demos.html",
- "meta": {
- "title": "Vaadin Combo Box Object Items Examples",
- "description": "",
- "image": ""
- }
- }
- ,
- {
- "name": "Remote and Custom Filtering",
+ "name": "Filtering",
"url": "combo-box-filtering-demos",
"src": "combo-box-filtering-demos.html",
"meta": {
- "title": "Vaadin Combo Box Remote and Custom Filtering Examples",
+ "title": "Vaadin Combo Box Filtering Examples",
"description": "",
"image": ""
}
}
,
{
- "name": "Advanced Demos",
- "url": "combo-box-advanced-demos",
- "src": "combo-box-advanced-demos.html",
+ "name": "Styling",
+ "url": "combo-box-styling-demos",
+ "src": "combo-box-styling-demos.html",
"meta": {
- "title": "Vaadin Combo Box Advanced Examples",
+ "title": "Vaadin Combo Box Styling Examples",
"description": "",
"image": ""
}