Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19587

Fix long field values break page formatting

    XMLWordPrintable

    Details

      Description

      when displaying long values page formatting is broken.
      see test case below:

      Working and non-working scenarios are both available as full HTML page and XML exports are also available.

      This seems to be located here:

      <td class="fieldColumn">
      	<input id="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2_init" type="hidden" name="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2_init" value="{&quot;id&quot;:&quot;secu_mep&quot;,&quot;obsolete&quot;:0,&quot;parent&quot;:&quot;dos&quot;,&quot;ordering&quot;:10000000,&quot;displayLabel&quot;:&quot;Sécurisation MEP et Certification des Changements &quot;,&quot;absoluteLabel&quot;:&quot;VERYLONGTEXTVERYLONGTEXTVERYLONGTEXTVERYLONGTEXTVERYLONGTEXTVERYLONGTEXT  &quot;,&quot;computedId&quot;:&quot;dsi/dos/secu_mep&quot;}">
      	<div class="select2-container select2-container-disabled" id="s2id_nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2" style="width: 100%;"><a href="javascript:void(0)" onclick="return false;" class="select2-choice" tabindex="-1">
      		<span class="select2-chosen">VERYLONGTEXTVERYLONGTEXTVERYLONGTEXTVERYLONGTEXT
      VERYLONGTEXTVERYLONGTEXTVERYLONGTEXTVERYLONGTEXT </span>
      		<abbr class="select2-search-choice-close"></abbr>
      		<span class="select2-arrow"><b></b></span></a>
      		<input class="select2-focusser select2-offscreen" type="text" id="s2id_autogen2" disabled="">
      		<div class="select2-drop select2-display-none select2-with-searchbox">
      			<div class="select2-search">
      				<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input">
      			</div>
      			<ul class="select2-results"></ul>
      		</div>
      	</div>
      	<input id="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2" type="hidden" name="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2" value="dsi/dos/secu_mep" tabindex="-1" style="width: 100%;" class="select2-offscreen" readonly=""><input id="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2_params" type="hidden" name="nxl_TabDocumentDsi_tabLayout:nxl_MetadataLayoutCommon_view:nxw_entity_1:nxw_suggestOneDirectory_select2_params" value="{&quot;multiple&quot;:&quot;false&quot;,&quot;readonly&quot;:&quot;true&quot;,&quot;directoryName&quot;:&quot;EntityVoc&quot;,&quot;width&quot;:&quot;100%&quot;,&quot;suggestionFormatter&quot;:&quot;dirEntryDefaultFormatter&quot;,&quot;operationId&quot;:&quot;Directory.SuggestEntries&quot;,&quot;selectionFormatter&quot;:&quot;dirSelectionDefaultFormatter&quot;,&quot;placeholder&quot;:&quot;Sélectionnez une valeur.&quot;,&quot;minChars&quot;:3}">
      </td>
      

      Seems to be CSS related.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m