pglet / pglet-python

Python client for Pglet - build real-time interactive web apps in Python
MIT License
18 stars 7 forks source link

Setting property value to None does not clear it on the server #28

Closed FeodorFitsner closed 3 years ago

FeodorFitsner commented 3 years ago

In the following example:

    prog1 = Progress("Copying file1.txt to file2.txt", value=50, width='30%')
    page.add(prog1)

    prog1.value = None
    prog1.update()

Calling prog1.value = None does not change progress to "infinite".

FeodorFitsner commented 3 years ago

The issue has been fixed in https://pypi.org/project/pglet/0.4.4/