feat: bell-tower favicon, lfx-clean flows, branded HTML mail
This commit is contained in:
parent
672faf3af8
commit
df5c1e296c
15 changed files with 288 additions and 30 deletions
|
|
@ -96,6 +96,11 @@ def _field_schema(name: str, field: dict) -> tuple[dict, dict]:
|
|||
|
||||
value = field.get("value")
|
||||
if value is not None:
|
||||
# Whitespace-only string values are the flow generator's sentinel
|
||||
# for "required, filled at runtime" (see make_flow_fixtures.py) —
|
||||
# not a real default for the web form.
|
||||
if isinstance(value, str) and not value.strip():
|
||||
return prop, ui
|
||||
# A default outside its enum would fail validation on touch.
|
||||
enum = prop.get("enum")
|
||||
if not (enum is not None and value not in enum):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue