Bound inputs: a field that loads its value from a sibling-parameterized resource
Deploy / deploy (push) Successful in 1m7s

Requirement.bind {field, param, resource}: when the watched sibling
changes (a file select, say), the bind's resource is fetched with the
sibling's value as a parameter and the result becomes this field's
value - the on-site editing flow for /develop-proposal, and a generic
select-plus-detail primitive anywhere else. Url sources gain {name}
path templating (percent-encoded, / preserved, SSRF check runs after
substitution); an empty sibling never fetches and never clears an
edit. Bound textareas render monospace.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-13 13:49:42 +02:00
co-authored by Claude Sonnet 5
parent 3d8af23167
commit 357d755b8c
4 changed files with 257 additions and 3 deletions
+10
View File
@@ -422,6 +422,16 @@ textarea {
resize: vertical;
}
/* A bound textarea holds loaded source text - monospace, roomy, no
soft-wrap surprises. */
textarea.bound {
font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
font-size: 0.85rem;
min-height: 16rem;
white-space: pre;
overflow-x: auto;
}
input:focus,
textarea:focus {
outline: none;