ComponentEditor
Base contract for all component editors.
Exposes the underlying component, validation, and visibility controls. Implementations propagate value changes to dependent components and re-evaluate conditions that may hide/disable the component.
Inheritors
Properties
Decorators (icon/label) for this component; from field or column when in a table cell.
Reactive signal for programmatic focus. When focus is called, the UI observes this and requests focus on the field. After the UI handles the request, it should call clearFocusRequest. Gaining focus triggers onFocus in the Form.
Unique editor identifier; affects formula dependency resolution.
Reactive validity state of the editor.
Functions
Clear the focus request. Called by the UI after it has requested focus, so that subsequent focus calls can trigger again.
Request focus on this field. Triggers focusRequest, which the UI observes to perform FocusRequester.requestFocus. When focus is gained, onFocus is invoked automatically via the normal focus flow.
Re-compute conditional logic (hide/disable, etc.) for this component.
Set hidden state explicitly.
Resolve a TableEditor for this ComponentEditor.
Recompute and push values to dependents driven by this component.
Compute validity based on current data and constraints.