{{#if showUndo}} {{d-button action=(action "undoChanges") icon=undoIcon label=undoKey class="undo-changes"}} {{/if}}
{{input name="label" value=field.label}}
{{i18n "admin.wizard.field.required_label"}} {{input type="checkbox" checked=field.required}}
{{textarea name="description" value=field.description}}
{{uppy-image-uploader imageUrl=field.image onUploadDone=(action "imageUploadDone") onUploadDeleted=(action "imageUploadDeleted") type="wizard-step" class="no-repeat contain-image" id=(concat "wizard-field-" field.id "-image-upload")}}
{{combo-box value=field.type content=fieldTypes onChange=(action "changeType") options=(hash none="admin.wizard.select_type" )}}
{{wizard-message key=messageKey url=messageUrl component="field"}} {{#if isTextType}}
{{input type="number" name="min_length" value=field.min_length class="small"}}
{{input type="number" name="max_length" value=field.max_length class="small"}}
{{i18n "admin.wizard.field.char_counter_placeholder"}} {{input type="checkbox" checked=field.char_counter}}
{{textarea name="field_placeholder" class="medium" value=field.placeholder}}
{{/if}} {{#if isComposerPreview}}
{{textarea name="preview-template" value=field.preview_template class="preview-template"}}
{{/if}} {{#if isUpload}}
{{input value=field.file_types class="medium"}}
{{/if}} {{#if showLimit}}
{{input type="number" value=field.limit class="small"}}
{{/if}} {{#if isDateTime}}
{{input value=field.format class="medium"}}
{{/if}} {{#if showPrefill}}
{{wizard-mapper inputs=field.prefill property="prefill" onUpdate=(action "mappedFieldUpdated") options=prefillOptions}}
{{/if}} {{#if showContent}}
{{wizard-mapper inputs=field.content property="content" onUpdate=(action "mappedFieldUpdated") options=contentOptions}}
{{/if}} {{#if isTag}}
{{tag-group-chooser tagGroups=field.tag_groups }}
{{/if}} {{#if showAdvanced}} {{wizard-advanced-toggle showAdvanced=field.showAdvanced}} {{#if field.showAdvanced}}
{{wizard-mapper inputs=field.condition options=fieldConditionOptions}}
{{wizard-mapper inputs=field.index options=fieldIndexOptions}}
{{#if isCategory}}
{{combo-box value=field.property content=categoryPropertyTypes onChange=(action (mut field.property)) options=(hash none="admin.wizard.selector.placeholder.property" )}}
{{/if}}
{{input name="key" value=field.key class="medium" placeholderKey="admin.wizard.translation_placeholder"}}
{{#if validations}} {{wizard-realtime-validations field=field validations=validations}} {{/if}}
{{/if}} {{/if}}