docs(tui): explain global form routing

This commit is contained in:
Aiden Cline 2026-07-05 23:43:51 -05:00
parent 96bfd4912d
commit 1043615df2

View file

@ -132,6 +132,7 @@ function display(field: Field, value: FormValue | undefined) {
function requestOptions(form: FormInfo) {
if (!form.location) return undefined
// Global forms have no session row, so the server needs their location to select the owning Form.Service.
return {
headers: {
"x-opencode-directory": encodeURIComponent(form.location.directory),