tiqi-group / pydase

A Python library for creating remote control interfaces of Python objects.
https://pydase.readthedocs.io
MIT License
2 stars 1 forks source link

NumberSlider component is not working #75

Closed mosmuell closed 11 months ago

mosmuell commented 11 months ago

Describe the bug

The NumberSlider component is not working at the moment. Changing its value in the frontend will remove the component from the frontend.

To Reproduce

Minimal code example:

from pydase import DataService, Server
from pydase.components.number_slider import NumberSlider

class ServiceClass(DataService):
    def __init__(self) -> None:
        self.number = NumberSlider()
        super().__init__()

if __name__ == "__main__":
    service = ServiceClass()
    Server(service).run()

Expected behaviour

Changing the number value through the frontend should update the value in the backend and display the new value in the frontend.

Screenshot/Video

Started service: image After changing value: image