Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
How to update advanced tooltip values in sap.m.Rangeslider in sapui5?
    <mvc:View
      height="100%"
      controllerName="view.Main"
      xmlns:mvc="sap.ui.core.mvc"
      xmlns="sap.m">
      <Page
        title="Page"
        class="marginBoxContent" >
        <Text text="RangeSlider with tickmarks and labels" class="sapUiSmallMarginBottom" />
        <RangeSlider showAdvancedTooltip="true" enableTickmarks="true" class="sapUiSmallMarginBottom" change="onUpdateSlider">
          <ResponsiveScale tickmarksBetweenLabels="10" />
        </RangeSlider>  
      </Page>
    </mvc:View>
                
    
     onUpdateSlider:function(oEvent)
      {
    var oValue = oEvent.getSource().getValue();
    var oValue2 = oEvent.getSource().getValue2();
    
    if(oValue > oValue2)
    {
    
    oEvent.getSource().setValue(oValue2-3);
    oEvent.getSource().setValue2(oValue2);
    
    }
    
    else if (oValue2 < oValue1)
    {
    
    oEvent.getSource().setValue2(oValue1+3);
    oEvent.getSource().setValue(oValue1);
    
    }
}

It doesn't update tooltip texts.
The tooltip texts of value and value2 should update on change event and setting value and value2 but it doesnt get updated.Any way tooltip can be updated.What happens now is after change event if it reaches a condition we set value and value2 but tooltip doesn't get updated and shows old values of value and value2

Kindly suggest how can i updated tooltip values. Is it a bug from standard control sap.m.RangeSlider ?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Thanks for reporting the issue. The bug is now fixed by the commit 2a69d08. The issue is no longer reproducible: https://jsbin.com/hiwujet/edit?html,js,output

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!