mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
Documentation! + some little fixes to add consistency between components
This commit is contained in:
+8
-5
@@ -64,7 +64,6 @@ module.exports = [
|
||||
{
|
||||
"type": "radiogroup",
|
||||
"appKey": "radiogroup-test",
|
||||
"defaultValue": "quote' \"test",
|
||||
"label": "Radio test",
|
||||
"options": [
|
||||
{ "label": "Test thing one", "value": "one" },
|
||||
@@ -91,9 +90,9 @@ module.exports = [
|
||||
"type": "input",
|
||||
"appKey": "date",
|
||||
"defaultValue": "",
|
||||
"label": "Date",
|
||||
"label": "Range",
|
||||
"attributes": {
|
||||
type: "date"
|
||||
type: "range"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -102,15 +101,19 @@ module.exports = [
|
||||
"defaultValue": "grape",
|
||||
"label": "Favorite Flavor",
|
||||
"options": [
|
||||
{ "label": "", "value": "" },
|
||||
{ "label": "Berry", "value": "berry" },
|
||||
{ "label": "Grape", "value": "grape" },
|
||||
{ "label": "Banana", "value": "banana" }
|
||||
]
|
||||
],
|
||||
"attributes": {
|
||||
"required": "required"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "submit",
|
||||
"label": "Save"
|
||||
"defaultValue": "Save"
|
||||
}
|
||||
];
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
window.returnTo = '$$RETURN_TO$$';
|
||||
window.returnTo = '#';
|
||||
window.clayConfig = require('./config.js');
|
||||
window.claySettings = {};
|
||||
window.customFn = require('./custom-fn.js');
|
||||
|
||||
Reference in New Issue
Block a user