form example: enable color picker, remove print statement
This commit is contained in:
parent
3ea3600a23
commit
975c43ba57
1 changed files with 13 additions and 16 deletions
|
@ -210,19 +210,19 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
|
|||
}
|
||||
]
|
||||
},
|
||||
//ColorInput: {
|
||||
// description: '...',
|
||||
// options: [
|
||||
// {
|
||||
// description: 'RGB',
|
||||
// value: [255, 0, 0]
|
||||
// },
|
||||
// {
|
||||
// description: 'HSL',
|
||||
// mode: 'hsl'
|
||||
// }
|
||||
// ]
|
||||
//},
|
||||
ColorInput: {
|
||||
description: '...',
|
||||
options: [
|
||||
{
|
||||
description: 'RGB',
|
||||
value: [255, 0, 0]
|
||||
},
|
||||
{
|
||||
description: 'HSL',
|
||||
mode: 'hsl'
|
||||
}
|
||||
]
|
||||
},
|
||||
DateInput: {
|
||||
description: 'Allows you to enter a date.',
|
||||
options: [
|
||||
|
@ -698,9 +698,6 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
|
|||
|
||||
function showValues(data) {
|
||||
setTimeout(function() {
|
||||
Ox.print(Ox.extend(
|
||||
{}, data.section, $form.values()[data.section]
|
||||
))
|
||||
$panel.replaceElement(1,
|
||||
Ox.TreeList({
|
||||
data: Ox.extend(
|
||||
|
|
Loading…
Reference in a new issue