N°9567 - add enc_type in UIForm to be able to change content type in twigs

This commit is contained in:
odain
2026-05-12 11:54:46 +02:00
parent 9f028c6452
commit 4ff0f3c4a0
3 changed files with 25 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<form method="post" enctype="multipart/form-data" id="{{ oUIBlock.GetId() }}"
<form method="post" enctype="{{ oUIBlock.GetEncType() }}" id="{{ oUIBlock.GetId() }}"
class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }} {% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}"
data-role="ibo-form"
{% if oUIBlock.GetOnSubmitJsCode() %}