Scan your whole stack
From OX Research Newsroom
Are you using @praxisui/dynamic-form?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v10.0.0-rc.68
@praxisui/dynamic-form was last scanned on 27 Nov 2026 at version 10.0.0-rc.68. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 10.0.0-rc.68 LATEST | 27 Nov 2026 | No rules fired |
| 10.0.0-rc.67 | 27 Nov 2026 | No rules fired |
| 10.0.0-rc.66 | 27 Nov 2026 | No rules fired |
| 10.0.0-rc.65 | 25 Nov 2026 | Not shown |
| 10.0.0-rc.64 | 25 Nov 2026 | Not shown |
Findings for v10.0.0-rc.68. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 10.0.0-rc.68; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Schema-driven and metadata-driven form runtime for Praxis UI.
Use this package to render FormConfig and FieldMetadata, connect forms to backend schema/submit endpoints, host visual configuration, and keep form layout, rules, actions, and submit payloads governed by shared Praxis contracts.
npm i @praxisui/dynamic-form@rc
Peer dependencies:
@angular/common, @angular/core, @angular/forms, @angular/cdk, @angular/material, @angular/router ^21.0.0@praxisui/ai, @praxisui/core, @praxisui/dynamic-fields, @praxisui/metadata-editor, @praxisui/rich-content, @praxisui/settings-panel, @praxisui/visual-builder ^9.0.0-beta.12rxjs ^7.8.0When the exact request schema from /schemas/filtered publishes root-level x-ui.reactiveDeterminations, the form executes the Metadata-compiled backend capability after a valid source changes and applies server-derived draft values. After edit/create hydration, an already populated source is also validated before the draft can be reported as stable; an empty initial source settles as not applicable without an HTTP call. The projection is one closed graph: if any definition is malformed, the complete projection is rejected instead of partially executing. It remains backend-owned, tenant-neutral and transient: it is never copied to FormConfig and cannot be authored as a callback, URL or local write policy.
Triggers, source fields and request/response bindings use JSON Pointer. The runtime supports nested object bindings, accepts at most 64 total input/output bindings and rejects duplicate or hierarchically overlapping pointers. It resolves the capability only against the configured API origin and rejects protocol-relative, encoded-separator or cross-origin targets. Output bindings have one closed meaning: server-derived draft values replace their targets. Metadata cannot select if-pristine, if-empty or another incidental UI policy.
The runtime waits until hydration finishes and invalidates the previous generation as soon as a newer relevant value or validation status arrives, before the new debounce completes. sourcePaths is an intentional trigger subset of inputs: changing a non-trigger input invalidates the current draft, emits input-changed-awaiting-trigger, and blocks submit/navigation until a source trigger recalculates it. Every configured response path is resolved before target controls are written; all nested targets are populated before change observers are notified. Chained determinations receive one logical batch signal after the complete commit, rather than one execution per output control. Their dependency order uses hierarchical input/output JSON Pointer overlap, and the canonical projection rejects cycles and overlapping multi-writers. Downstream waits while upstream is pending and runs only after authoritative outputs or confirmed unchanged inputs. Null/undefined upstream outputs and failed, invalid or cancelled upstream generations settle downstream as skipped instead of invoking it with missing or stale data. If a control rejects a write, the runtime attempts to restore earlier writes and reports a terminal failure. This is a coordinated client-side batch, not a transaction or an ACID guarantee. Each capability remains a separate HTTP request, so an activation may occur between two chained previews; only a host command that resolves and revalidates one aggregate can claim snapshot consistency for the complete business decision.
A determination remains pending through debounce, asynchronous validation and capability execution. Submit attempts wait with a bounded timeout and repeat the stability check after hooks that may mutate controls. Output controls are disabled transiently as server-owned draft values, but remain present in getRawValue(), valueChange and submit payloads; this state is not persisted in FormConfig.
Hosts can observe metadata-only evidence through reactiveDeterminationExecuted and aggregate state through reactiveDeterminationPendingChange. Before navigating or closing a composed surface, inspect hasPendingReactiveDeterminations() and hasUnsatisfiedReactiveDeterminations() and await waitForReactiveDeterminations(timeoutMs?); false means timeout or that the latest generation did not produce a current authoritative draft, and must block the transition. A programmatic change to an owned output invalidates the previous authority and triggers a new determination. Cancelled pending correlations terminate as skipped/superseded. No event or method exposes form or response values.
Use optionSource.dependsOn for dependent option lists and workflow actions for persistent transitions. Recommendations, side-effect refresh and backend validation are separate capabilities. The final backend command must still authorize, recompute or validate fiscal, pricing, eligibility, compliance and approval outcomes.
Use a local FormConfig when the host already knows the sections and fields.
import { Component } from '@angular/core';
import { FormConfig } from '@praxisui/core';
import { PraxisDynamicForm } from '@praxisui/dynamic-form';
@Component({
standalone: true,
selector: 'app-local-form',
imports: [PraxisDynamicForm],
template: `
<praxis-dynamic-form
formId="employee-local-form"
mode="create"
[config]="config"
(formSubmit)="save($event.formData)">
</praxis-dynamic-form>
`,
})
export class LocalFormComponent {
config: FormConfig = {
sections: [
{
id: 'main',
title: 'Employee',
rows: [
{
columns: [
{
id: 'name-column',
items: [{ kind: 'field', id: 'name-field', fieldName: 'name' }],
fields: ['name'],
},
],
},
],
},
],
fieldMetadata: [
{ name: 'name', label: 'Name', controlType: 'input', required: true },
],
};
save(payload: unknown): void {}
}
For schema-driven backend surfaces, prefer explicit schemaUrl, submitUrl, and submitMethod.
<praxis-dynamic-form
formId="employee-edit"
mode="edit"
resourcePath="/api/employees"
[resourceId]="employeeId"
schemaUrl="/api/employees/schemas/edit"
readUrl="/api/employees/42"
submitUrl="/api/employees/42"
submitMethod="PUT"
(formSubmit)="onSubmitted($event)">
</praxis-dynamic-form>
resourcePath can connect the form to backend discovery, but it is not the only or always preferred minimum. Detached dialog/drawer hosts may also need apiEndpointKey or apiUrlEntry so relative runtime URLs resolve against the intended backend.
When an action protects a different aggregate with optimistic concurrency, the core action
adapter may also materialize submitResourceVersionTargetResourceKey and
submitResourceVersionTargetIdField. Dynamic Form resolves that exact resource and scalar request
field only after the final submit payload exists, reads the current representation, and forwards
its ETag as If-Match. Missing target metadata, a divergent catalog, a non-scalar id, or a response
without ETag blocks the command. Hosts must not derive this target from labels, routes, lookup
display objects, or action names.
When using resource, schema, read, or submit flows, the host must provide the effective API/CRUD service wiring for that scope.
Schema-driven layout materialization is opt-in through layoutPolicy. Use it when the backend
schema already publishes enough x-ui metadata for the runtime to build the layout without
local FormConfig.sections.
<praxis-dynamic-form
formId="employee-detail"
mode="view"
schemaUrl="/schemas/filtered?path=/api/employees/{id}&operation=get&schemaType=response"
[initialValue]="employee"
[layoutPolicy]="{
source: 'schema',
intent: 'detail',
preset: 'compactPresentation',
lifecycle: 'live',
persistence: 'transient',
schemaOperation: 'detail',
schemaType: 'response'
}">
</praxis-dynamic-form>
For create/edit command forms, the policy must point at a request schema, normally through an
explicit schemaUrl containing schemaType=request and operation=post|put|patch. If the
declared schemaUrl conflicts with layoutPolicy.schemaType or layoutPolicy.schemaOperation,
the runtime fails initialization instead of rendering a form from the wrong business contract.
layoutPolicy.source = "schema" ignores authored or persisted sections, but preserves
non-layout host/persisted concerns such as actions, api, messages, rules, hooks and rich
blocks. Host-provided non-layout config has precedence over persisted config.
For nested commands, layoutPolicy.groupedCommand.contextFields identifies request fields whose
values are supplied by the surrounding surface (for example, the employee id inherited by a
related-resource drawer). These fields remain schema-backed controls in the runtime form and are
included in the submit payload, but are omitted from the interactive layout. The host must hydrate
them through initialValue on create or through the entity read on edit; this policy must not hide
values that the user is expected to choose.
For generated command groups, the default
layoutPolicy.groupedCommand.partialRowStrategy = "preserve" keeps published spans unchanged.
Use "fill-compatible" when eligible controls should absorb the remaining 12-column space at
each visual row after responsive visibility, CSS order and wrapping are resolved (for example, 4 + 4 projects to 6 + 6, while
6 + 6 + 6 projects to visual rows 6 + 6 and 12). This is a transient runtime projection:
schema x-ui.width, generated sections and authoring documents are not rewritten. Compact
boolean/action controls, uploads and unknown control types remain at their canonical span.
When mode="view" and the host does not provide presentationModeGlobal, a schema policy with
intent: "detail" or preset: "compactPresentation" also enables presentation rendering. Hosts
that need traditional disabled controls for the same schema can pass [presentationModeGlobal]="false".
For compact detail screens, explicit schema x-ui.width values are honored as 12-column spans so
fieldsets can render multiple read-only fields per row. Fields without an explicit width remain
full-width to preserve existing layouts. Generated compact sections also receive semantic header
icons derived from their group role, while field icons continue to come from existing schema
metadata.
In runtime rendering, compact detail containers are kept visible only when at least one referenced
field can actually be materialized after metadata visibility, visible=false, hidden=true and
field-rule overrides are applied. Boolean detail fields are valid presentation content, including
false values; marker/flag groups should render their boolean values, not collapse them as empty
strings. If a section has no materialized fields, the runtime hides the section instead of leaving
an orphan title.
When a migrated detail surface needs the summary density to win over generic schema widths, set
detailSummary.widthPrecedence: "summary" together with columns or responsiveColumns. The
default is "schema", so existing forms keep honoring x-ui.width unless the summary policy
explicitly opts into overriding it for the compact read-only surface.
Use "summary" for curated operational summaries. If a field contains long narrative text,
legal content, observations, or values that require scan width, keep schema precedence for that
surface or exclude the field from the compact summary and expose it in a secondary detail group.
For fields published by the backend schema, server DTO metadata remains authoritative for semantic presentation data such as label, hint, helpText, tooltip, tooltipOnHover, and icon metadata. Local FormConfig should customize layout, grouping, transient fields, actions, and host-specific behavior, but it should not redefine DTO-owned field semantics.
Field-level access metadata follows the same authority boundary. When the backend publishes x-ui.fieldAccess, @praxisui/core preserves it in FieldMetadata.fieldAccess and @praxisui/dynamic-form can materialize it as hidden or read-only UX when the host supplies explicit FormConfig.metadata.fieldAccessAuthorities or enterprise runtime authorities. The runtime does not infer field authorities from capabilities; backend filtering and submit validation remain the security boundary.
Dense operational forms should keep DTO hint/helpText intact and use FormConfig.helpPresentation to choose the visual policy. For drawers or command forms, prefer display: "auto" with preferPopoverForControls for controls such as toggle, checkbox, and select; validation errors remain inline regardless of this policy. Field-level helpDisplay is still authoritative when present, including helpDisplay: "auto" for DTOs that need a local threshold.
Submit failures published in the Praxis RestApiResponse.errors envelope are materialized by the
runtime. A safe public message is shown to the user, while an error with a target matching a
form control is also attached to that control and marked as touched. Existing client validators
are preserved. Each field-owned server error is removed as soon as that field changes, without
clearing client validators or errors on other controls; all remaining server errors are cleared
before the next submit attempt and after a successful submit. Targets may use Angular dotted paths
or JSON Pointer syntax. Unknown or targetless details remain form-level feedback; the client does
not guess a field from error text, codes, keywords, or private database details.
Structured details and public backend messages are trusted only for known HTTP 4xx responses.
Network failures, 5xx responses, and responses without a trustworthy status fail closed to the
localized platform messages under global.submitError.*, even when their payload contains
message or errors. For a governed 4xx response with structured details, the backend-owned
business message has precedence over generic copy configured in messages. Without structured
details, configured create/update/custom submit copy remains authoritative and the normalized
platform fallback is used only when no configured copy exists.
Example backend-owned x-ui metadata:
{
"type": "object",
"properties": {
"frequencyType": {
"type": "string",
"x-ui": {
"label": "Frequency type",
"controlType": "async-select",
"helpText": "Select the operational class used by payroll and timekeeping rules.",
"tooltip": "Backend-owned DTO semantics; local FormConfig cannot override it.",
"tooltipOnHover": true,
"icon": "calendar_month",
"iconPosition": "start",
"iconColor": "primary",
"endpoint": "/api/frequency-types/options/filter",
"filterField": "name",
"sortField": "name",
"sortOrder": "asc",
"optionsPageSize": 20
}
}
}
}
In that flow, local FormConfig may place frequencyType in sections, rows, tabs, custom actions, or corporate-only local fields. It should not persist competing label, helpText, tooltip, or icon metadata for frequencyType, because the next schema reconciliation will restore the backend DTO semantics.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.