{{i18n 'admin.wizard.id'}}
{{input name="id" value=field.id placeholderKey="admin.wizard.id_placeholder" disabled=disableId}}
{{i18n 'admin.wizard.key'}}
{{input name="key" value=field.key placeholderKey="admin.wizard.key_placeholder"}}
{{i18n 'admin.wizard.field.label'}}
{{input name="label" value=field.label}}
{{i18n 'admin.wizard.field.description'}}
{{textarea name="description" value=field.description}}
{{i18n 'admin.wizard.field.image'}}
{{input name="image" value=field.image placeholderKey="admin.wizard.field.image_placeholder"}}
{{i18n 'admin.wizard.type'}}
{{combo-box
value=field.type
content=types
onChange=(action (mut field.type))
options=(hash
none="admin.wizard.field.type"
)}}
{{i18n 'admin.wizard.field.required'}}
{{input type='checkbox' checked=field.required}}
{{i18n 'admin.wizard.field.required_label'}}
{{#if isInput}}
{{i18n 'admin.wizard.field.min_length'}}
{{input type="number" name="min_length" value=field.min_length placeholder=(i18n 'admin.wizard.field.min_length_placeholder')}}
{{/if}}
{{#if isDropdown}}
{{combo-box
value=field.choices_type
content=choicesTypes
onChange=(action (mut field.choices_type))
options=(hash
none="admin.wizard.field.choices_type"
)}}
{{#if choicesTranslation}}
{{input name="key" value=field.choices_key placeholderKey="admin.wizard.key_placeholder"}}
{{/if}}
{{#if choicesCustom}}
{{wizard-field-mapper
inputs=field.choices
wizardFields=wizardFields}}
{{/if}}
{{input name="dropdown_none" value=field.dropdown_none placeholder=(i18n 'admin.wizard.field.dropdown_none_placeholder')}}
{{/if}}
{{#if isUpload}}
{{i18n 'admin.wizard.field.file_types'}}
{{input value=field.file_types}}
{{/if}}
{{#if isCategoryOrTag}}
{{i18n 'admin.wizard.field.limit'}}
{{input type="number" value=field.limit}}
{{/if}}
{{#if isCategory}}
{{i18n 'admin.wizard.field.property'}}
{{combo-box
value=field.property
content=categoryPropertyTypes
onChange=(action (mut field.property))
options=(hash
none='admin.wizard.select_property'
)}}
{{/if}}
{{i18n 'admin.wizard.field.prefill'}}
{{wizard-field-mapper
inputs=field.prefill
wizardFields=wizardFields
options=prefillOptions}}
{{#if canFilter}}
{{i18n 'admin.wizard.field.filter'}}
{{wizard-field-mapper
inputs=field.filters
wizardFields=wizardFields
options=filterOptions}}
{{/if}}