Use dropdown separated from dataType in Vue

This commit is contained in:
Joe Knapper 2026-02-13 12:13:39 +00:00 committed by Julian Stirling
parent ae81520494
commit 5ae0f903d8
3 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,6 @@
"""Functionality for communicating the required user interface for a thing."""
from typing import Any
from typing import Any, Optional
from pydantic import BaseModel
@ -83,7 +83,7 @@ class PropertyControl(BaseModel):
read_back_delay: int = 1000
"""The delay in ms before reading back the property."""
options: list[str] = []
options: Optional[list[str]] = None
"""A list of options to pass to the UI for a dropdown.
These options aren't validated in the UI in any way, and invalid