Pages: Implement radio button
This commit is contained in:
parent
a59ab79da0
commit
feec5e88fc
7 changed files with 108 additions and 2 deletions
|
|
@ -32,6 +32,12 @@ export function collectPageVars(content) {
|
|||
type: 'number',
|
||||
value: 0
|
||||
});
|
||||
} else if (x.type === 'radioButton') {
|
||||
pageVars.push({
|
||||
name: x.name,
|
||||
type: 'string',
|
||||
value: x.default || ''
|
||||
});
|
||||
} else if (x.children) {
|
||||
collect(x.children);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue