runicFieldModel function

Module @runic-artifex/angular/forms in @runic-artifex/angular 0.23.0

function runicFieldModel<TValue>(handle: FieldHandle<TValue>): WritableSignal<TValue>;

A WritableSignal over an injectField handle, for a Signal Forms form(): it reads the field's value, and set and update write through the field (input), so the form's [formField] edits the View.

readonly title = injectField(this.editor, EditorFields.title);
readonly titleForm = form(runicFieldModel(this.title), path => validateRunicField(path, this.title));
// <input [formField]="titleForm" (blur)="title.commit()">