Add wizard-subscription-selector support to field type selection
Dieser Commit ist enthalten in:
Ursprung
4ceffb7d0f
Commit
2114b80185
3 geänderte Dateien mit 8 neuen und 3 gelöschten Zeilen
|
@ -244,6 +244,7 @@ const custom_field = {
|
|||
|
||||
export function buildFieldTypes(types) {
|
||||
wizardSchema.field.types = types;
|
||||
wizardSchema.field.type = Object.keys(types);
|
||||
}
|
||||
|
||||
field.type = Object.keys(field.types);
|
||||
|
|
|
@ -56,13 +56,16 @@
|
|||
</div>
|
||||
|
||||
<div class="setting-value">
|
||||
{{combo-box
|
||||
{{wizard-subscription-selector
|
||||
value=field.type
|
||||
content=fieldTypes
|
||||
feature="field"
|
||||
attribute="type"
|
||||
onChange=(action "changeType")
|
||||
wizard=wizard
|
||||
options=(hash
|
||||
none="admin.wizard.select_type"
|
||||
)}}
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
{{wizard-custom-field
|
||||
field=field
|
||||
step=step
|
||||
wizard=wizard
|
||||
currentFieldId=currentField.id
|
||||
fieldTypes=fieldTypes
|
||||
removeField="removeField"
|
||||
|
|
Laden …
In neuem Issue referenzieren