Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Textarea Input Widget

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Textarea Input Widget

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nr001 last edited by

      Hallo,

      wie kann ich eine einfache HTML Textarea erstellen die einen Datenpunkt schreibt und liest?

      Habe bisher kein Widget gefunden und benötige aber ein multiline input Feld.

      Danke!

      1 Reply Last reply Reply Quote 0
      • N
        nr001 last edited by

        Habe jetzt einen Workaround gefunden um eine Textarea zu implementieren:

        Dazu folgenden Code ins Basic HTML Widget einfügen:

        <textarea id="autoCmds" rows="10" cols="50">
        {javascript.0.myAuto.cmds}
        </textarea>
        <br>
        <input type="button" value="Speichern" onclick="vis.setValue('javascript.0.myAuto.cmds', $('#autoCmds').val());location.reload();">

        Damit wird bei einem Klick auf den "Speichern" Button der Datenpunkt "javascript.0.myAuto.cmds" mit dem Wert aus der Textarea beschrieben.

        Vll kanns ja wer brauchen

        Sebastian IO 1 Reply Last reply Reply Quote 0
        • Sebastian IO
          Sebastian IO @nr001 last edited by

          @nr001 you did my day! Ich brauche die Textarea für meine Ausdrucke mit Cubinote in der viz und das war das fehlende Puzzlestück!
          Danke!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          855
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          vis
          2
          3
          351
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo