Skip to main content
Sisense Community logo
  • Community Feedback
  • Chapters
  • Events
    • Help and How To
    • Product Feedback Forum
    • Strategy & Use Cases
  • Blogs
    • KB Docs
    • Add-Ons & Plug-Ins
    • APIs
    • Best Practices
    • Blox
    • CDT
    • Cloud Managed Service
    • Data Models
    • Data Sources
    • Embedding Analytics
    • How-Tos & FAQs
    • Onboarding
    • PySisense
    • Security
    • Sisense Administration
    • Sisense Intelligence & AI
    • Troubleshooting
    • Widget & Dashboard Scripts
  • Support
    • Sisense Academy: Free Courses and Certifications
    • Official Developer Documentation
    • Official Product Documentation
    • Official Sisense Youtube Channel
    • Sisense Compose SDK Playground
  • Use Case Gallery
Loading…
   
All PostsDiscussionsBlogsIdeasQuestions
Leaderboards
                   
  •                    
                   
  •                    
  •                    
  •                    
  •                    
                   
  •                    
  •                    
  •                    
  •                    

  •                    
  •                    
  •                    
                   
  •                    
  •                    
  •                    
Discussions
  • TagsChevronRightIcon
L2023.7
  • Question
    • Help and How-ToChevronRightIcon
                     
    SSH show online users
    Tim von Ahsen
    Tim von Ahsen
    4
             
  • Discussion
    bbontrager
    • Help and How-To
             
    bbontrager
    Handling Multi-line text in blox
                     

    Noticed an odd behavior with multi-line text inputs in blox. If I define a text input as multiline...   { "type" : "Input.Text" , "id" : "data.Parameters.NOTES" , "defaultValue" : "" , "isMultiline" : true , "rows" : "5" , "value" : "{panel:NOTES}" },   I can enter text with new lines as expected We save this to a database by an API, then retrieve it.  If we just display the data, newlines are preserved (bottom of the picture below) BUT the same panel value in the text input is rendered with the <br/> tag embedded in it (top of the picture below) { "type" : "TextBlock" , "id" : "" , "class" : "" , "spacing" : "small" , "weight" : "normal" , "widget" : "90%" , "text" : "{panel:NOTES}" },       Embedding the <BR/> tag makes sense when the value is being shown as a Text Block, but not when it is placed into a Text Input. Is there a blox setting that will allow the Text Input to render as expected, or do I need to hack around it with javascript in the widget?  

    2