concrete/fixtures/value-invalid
A content entry states a malformed date, email or phone value.
A content entry states a malformed date, email or phone value.
Graded by the fixtures stage of concrete check, in the tree venue. A violation reports this id and the file it failed at — see every rule and concrete check.
Reason
A date, email or phone slot holds a validated value, and the render reads only a
valid one: a day that does not exist binds as the empty "none", and an address or number
no client could open binds blank, so its link is never written. A fixture stating such a
value previews the empty branch while claiming to have filled the slot — the case you
meant to see is the one that never renders. A crop is graded the same way: each of its
x, y, width and height is a share of the image, from 0 to 1, naming a region
inside it.
No fill writes any of the three, so a fixture states them where the user would type them: the items of a list the user builds, and the fields of its objects. A slot bound to a fact or a row's member takes its value from the property instead.
Fix
State the value the way the slot stores it: a real day as "YYYY-MM-DD" (or null for
none), an address with a domain, a number of digits a dialer can call. How it reads on
the page is the render's business — a format on Slot.Date, the default display of
Slot.Phone — never the stored value's.
Before and after
{
"property": "properties/riverside/property.json",
"content": {
"open-house-1": {
"slots": { "days": ["March 7th"], "hosts": [{ "name": "Jane", "mobile": "512-555-HOME" }] }
}
}
}{
"property": "properties/riverside/property.json",
"content": {
"open-house-1": {
"slots": { "days": ["2026-03-07"], "hosts": [{ "name": "Jane", "mobile": "(512) 555-4663" }] }
}
}
}The section is an open house with a list of days, each a date({}), and a list of hosts,
each an object of a name and a phone({ label: "Mobile" }).
