Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
9.76k stars 692 forks source link

[🐛 BUG] step function in slider not working #1428

Open pradeepinani opened 3 weeks ago

pradeepinani commented 3 weeks ago

What went wrong? 🤔

We we provide step details for slider the code shows error. It does not throw error in execution but step functionality does not work. The code used is given as follows <|{vari}|slider|min=0|max=200|step=5|change_delay=2000|orientation=hori|on_change=sliderchange|>

2024-06-18_09h42_40

Expected Behavior

No response

Steps to Reproduce Issue

  1. A code fragment
  2. And/or configuration files or code
  3. And/or Taipy GUI Markdown or HTML files

Screenshots

image

Version of Taipy

3.1.1

Acceptance Criteria

Code of Conduct

FlorianJacta commented 3 weeks ago

Thank you @pradeepinani ! The code syntax highlight is not blocking. Does the actual code work?

from taipy.gui import Gui 

vari = 0

md = "# Step slider\n <|{vari}|slider|min=0|max=200|step=5|>"

Gui(md).run(port=2452)

Try this one, for example. Does the step mechanism work in the application?

FlorianJacta commented 2 weeks ago

Do you have any news on this issue? @pradeepinani

yaten2302 commented 1 week ago

I tried this code, it's working for me @FlorianJacta 👍

pradeepinani commented 1 week ago

Will try next week, I am out travelling.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Florian Jacta @.> Sent: Wednesday, June 26, 2024 2:58:47 PM To: Avaiga/taipy @.> Cc: pradeepinani @.>; Mention @.> Subject: Re: [Avaiga/taipy] [🐛 BUG] step function in slider not working (Issue #1428)

Do you have any news on this issue? @pradeepinanihttps://github.com/pradeepinani

— Reply to this email directly, view it on GitHubhttps://github.com/Avaiga/taipy/issues/1428#issuecomment-2191238219, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJJI62NQCRIIO3GS5EEW2XTZJKCU7AVCNFSM6AAAAABJQLDFY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGIZTQMRRHE. You are receiving this because you were mentioned.Message ID: @.***>