Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

137
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda