Solved Custom warning title > 255 characters is silently truncated

This topic has been solved
X

Xon

Guest
XML:

Code:
<xf:radiorow name="warning_definition_id" value="0"
    label="{{ phrase('warning_type') }}">

    <xf:foreach loop="$warnings" value="$warning">
       <xf:option value="{$warning.warning_definition_id}" class="js-FormFiller">{$warning.title}</xf:option>
    </xf:foreach>
    <xf:option value="0" class="js-FormFiller"
       label="{{ phrase('custom_warning:') }}">

       <xf:textbox name="custom_title" maxlength="{{ max_length($warning, 'title') }}" />
    </xf:option>...

Read more

Continue reading...