• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Set-point-value and show-button=false not working

    User help
    2
    5
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dan M
      last edited by

      I've been working in a slightly older version of Mango (2.7.12 maybe?) and just upgraded to latest. I cannot get <ma-set-point-value> to work when using show-button="false". The value will not change. It works fine when show-button=true or exclude show button, but I need to to work without it..
      Also, it would be good that to have it set on change when the element loses focus. I only had it work previously when enter was specifically pressed. I added ng-blur to the directive, fixing it..

      I tried doing the value change using a fresh install of the latest mango without show button and doesn't seem to work..

      1 Reply Last reply Reply Quote 0
      • D
        Dan M
        last edited by

        Seems it has something to do with the change to 'convertRendered() in setPointValue.js

        Jared WiltshireJ 1 Reply Last reply Reply Quote 0
        • Jared WiltshireJ
          Jared Wiltshire
          last edited by

          @Dan-M unless I'm mistaken, ma-set-point-value only ever worked with show-button="false" when it was a binary or multi-state point. You could try this for setting when pressing enter -

          <md-input-container>
              <label>Set value</label>
              <input type="number" step="any" ng-model="inputValue" ma-copy-blurred="myPoint.value" ng-disabled="!myPoint.pointLocator.settable" ng-keypress="$event.which === 13 && myPoint.setValue(inputValue)">
          </md-input-container> 
          

          Developer at Radix IoT

          1 Reply Last reply Reply Quote 0
          • Jared WiltshireJ
            Jared Wiltshire @Dan M
            last edited by Jared Wiltshire

            @Dan-M said in Set-point-value and show-button=false not working:

            Seems it has something to do with the change to 'convertRendered() in setPointValue.js

            What version of the dashboard module are you using?

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • D
              Dan M
              last edited by

              Im using v3.4. It was working in v3.2 though.

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