Skip to main content

Input Elements and Wrapping Tags

Comments

3 comments

  • VISUI
    Use a Definition Modifier or put it in your theme modifier.  Something like this...

    <DefinitionModifier>
        <SetAttribute XPath=".//IncludeHtml" NoWrap="True" />
        <SetAttribute XPath=".//Label" NoWrap="True" />
    </DefinitionModifier>
    1
  • Blake

    Thanks for the syntax.  I gave this a try with the InputText element and didn't see a change.  I find that interesting because per the debug logs I see the snippet below.  Ideas?

    Modifier File: C:\inetpub\wwwroot\Bootstrap5\_SupportFiles\AppModifier.xml
    
      XPath = //InputText
        SetAttribute
          NoWrap = True
    0
  • VISUI

    Hmmm... doesn't seem to work with Input elements anymore for some reason.

    jQuery can unwrap it with a single selector but runs browser-side.

    $('textarea, input').unwrap();

     

     

    0

Please sign in to leave a comment.