{% from '_includes/forms' import field %}

{% set value = element.getFieldValue(field.fieldKey) ?? field.normalizeValue(field.getDefaultValue(), null) %}
{% set errors = element.getErrors(field.fieldKey) ?? [] %}

{{ field.getCpInputHtml(value, element) }}
