mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(spiral_progress_bar/rings): config min/max values added check for floats
This commit is contained in:
@ -54,8 +54,8 @@ class RingConfig(ConnectionConfig):
|
|||||||
description="Start position for the progress bars in degrees. Default is 90 degrees - corespons to "
|
description="Start position for the progress bars in degrees. Default is 90 degrees - corespons to "
|
||||||
"the top of the ring.",
|
"the top of the ring.",
|
||||||
)
|
)
|
||||||
min_value: int | None = Field(0, description="Minimum value for the progress bars.")
|
min_value: int | float | None = Field(0, description="Minimum value for the progress bars.")
|
||||||
max_value: int | None = Field(100, description="Maximum value for the progress bars.")
|
max_value: int | float | None = Field(100, description="Maximum value for the progress bars.")
|
||||||
precision: int | None = Field(3, description="Precision for the progress bars.")
|
precision: int | None = Field(3, description="Precision for the progress bars.")
|
||||||
update_behaviour: Literal["manual", "auto"] | None = Field(
|
update_behaviour: Literal["manual", "auto"] | None = Field(
|
||||||
"auto", description="Update behaviour for the progress bars."
|
"auto", description="Update behaviour for the progress bars."
|
||||||
|
Reference in New Issue
Block a user