Skip to content

spec(AST-118): rejected entry feedback for inputs that check their own entries - #11321

Merged
nynexman4464 merged 14 commits into
mainfrom
nynexman4464/spec/rejected-entry-feedback
Nov 12, 2026
Merged

nynexman4464 merged 14 commits into
mainfrom
nynexman4464/spec/rejected-entry-feedback

Conversation

@nynexman4464

@nynexman4464 nynexman4464 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

This PR records how DateInput, DateTimeInput, TimeInput, and NumberInput report their own rejections by default. Together the changes are one accessibility behavior fix under spec:AST-017 FR53, shipped in a patch. Each rejection:

  • appears once the entry is complete, or at commit;
  • shows a visible message;
  • keeps what the person typed;
  • leaves what a form posts unchanged.

The owner has ruled on every question, including the form value (DEC-13); see Owner decisions (recorded). The record has no open questions. The record content needs approval from a spec owner.

spec:AST-117 (entryErrorBehavior) is on main. This branch merges main and moves AST-118's projections to the next free ids (see Numbering).

Planned for 0.8.0 (not in this record): blocking form submission while a field shows rejected text, as React Aria's native validation does. It stops onSubmit from running, so it is a breaking change. It lands with the planned 0.8.0 change that gives the four inputs one default for which message wins. It also covers the two cases in which a form still posts typed text the field rejects (DEC-13).

Existing authority searched

  • spec:AST-017:
    • FR53: accessibility behavior fixes.
    • FR3: routes conformance changes to FR53.
    • FR5: optional additions.
    • FR1: breaking changes. A changed posted value falls here.
  • spec:AST-117 (entryErrorBehavior, on main):
    • FR3: 'complete' reveals rejections when each member's record states.
    • FR4: 'blur-or-enter' holds every signal until commit.
    • Its projections are family FR14, DateInput FR24, DateTimeInput FR15, TimeInput FR13, and NumberInput FR14.
  • family:input-fields:
    • FR10: base props reach the primary semantic control.
    • FR14: AST-117's projection.
    • FR15: this record's projection.
  • Base props and name:
    • component:NumberInput FR6.
    • component:TimeInput FR11.
    • component:DateTimeInput FR8: base props reach the date segment only.
    • component:DateInput FR10, through family:input-fields FR10.
  • Enter in DateInput and DateTimeInput: component:DateInput FR16 and component:DateTimeInput FR10 hold back Enter while typed text is pending.
  • Grouped layout: component:InputGroup FR1, component:TextInput FR1, and component:TimeInput FR10. These are unchanged.
  • spec:AST-086 (FR1, FR3–FR7) and spec:AST-111 (FR9, FR11, FR12, AR3).

Decision

spec:AST-118 (authority draft, phase proposed):

  • FR1: points of completion.
    • Typed dates follow spec:AST-111 FR12.
    • Typed times need hours, both minute digits, and the day period in 12-hour text.
    • A typed number is complete only at commit.
    • A native date value is complete at commit; a native time value when reported.
    • New: "Under entryErrorBehavior="complete", a member reveals its rejections at these points, and under 'blur-or-enter' at commit (spec:AST-117 FR3, FR4)." A number's rejection therefore appears at commit under either value.
  • FR2–FR3: a value rejection appears once the entry is complete. A text rejection waits for commit.
  • FR4: a commit keeps rejected text, and what a form posts does not change.
    • A hidden input carries the committed value's text in two cases: after blur keeps a rejected NumberInput or TimeInput draft, and after Enter or blur keeps unreadable date text.
    • Everywhere else, the input that carries name on the latest stable release keeps it and posts what it posts there (the typed input, or NumberInput's hidden input with formatValue).
    • New: the hidden input carries name until the person edits the kept text, or a new value or a pick replaces it. The typed input then carries name again.
    • New: kept unreadable date text is not pending for component:DateInput FR16 or component:DateTimeInput FR10. So the next Enter with no edit submits a form, and the hidden input posts the committed date, as on the latest stable release once that text has reverted.
    • Changed: a native control restores its committed value at blur, as the release does. A form that Enter submits before blur posts the value the control holds. Its rejection stays shown as FR6 states.
  • FR5: a rejection is a visible message, and its signals move together. The title now fits on one line, so the requirement index lists it.
  • FR6–FR10: unchanged.

Changed since the last review (merge with main, then fix commits):

Record Change
All projections Renumbered after AST-117: family FR14 → FR15; DateInput FR24 → FR25; DateTimeInput FR15 → FR16; TimeInput FR13, FR14 → FR14, FR15; NumberInput FR14, FR15 → FR15, FR16. Every cross-reference follows, including AST-118's body and verification rows and the rows that point to the projections (NumberInput FR2, FR3, FR6, AR2; TimeInput FR3, FR6, FR11, AR2; DateInput FR20, AR3; DateTimeInput FR8).
Merge resolution Both sides are kept: AST-117's rows and AST-118's rows sit side by side. system_specs lists both specs. The glance rows, Compatibility bullets, AR rows, verification rows, and current-state bullets name both. DateInput FR20 keeps AST-117's report timing and AST-118's kept-text clause.
AST-117 projections (NumberInput FR14, TimeInput FR13, DateInput FR24, DateTimeInput FR15) Under 'complete', each now reveals rejections when the AST-118 projection states, instead of describing the per-keystroke marking and blur revert that AST-118 removes. Under 'blur-or-enter', each keeps rejected text instead of announcing and reverting it. Without this, each record would say two contradicting things.
component:NumberInput FR3 Enter on an unparsable or wrong-kind draft, or any draft when min is above max, keeps it and "shows its rejection (FR15)".
component:NumberInput FR6, component:TimeInput FR11 The hidden input carries name until the person edits the draft or a new value replaces it.
component:DateInput FR25, component:DateTimeInput FR8 The same name rule. Kept unreadable text is not pending for FR16 (DateTimeInput FR10), so the next Enter submits. DateInput FR25 restores a native date at blur.
family:input-fields FR15 One-line title: "Rejected entries are never flagged early or dropped silently." A native control restores at blur.
spec:AST-118 DEC-9 The native restore happens at blur.
spec:AST-118 DEC-13 Decider: nynexman4464, 2026-11-12. The owner-history line is gone. One rejected alternative stays: the committed value's text in every case, an FR1 change.
spec:AST-118 FR4, DEC-13 (later commits) The posted value follows whichever input carries name on the release; NumberInput with formatValue posts the committed number in every case; the kept-draft hidden input posts the number as the release shows it (plain while unfocused, locale-formatted while focused), with a decimal-comma state in the FR4 verification row.
component:TimeInput FR2, FR14 FR2 restored exactly as on main after the merge; the native control restores at blur.
component:NumberInput FR6 verification TBD (gap) for a draft kept after blur.

Owner decisions (recorded)

Each decision is in the record with decider nynexman4464.

  1. What a form posts does not change (DEC-13, 2026-11-12).
    • Where the latest stable release reverts rejected text, the field keeps it, and a hidden input posts the committed value's text, which the release posts once the text reverts.
    • Elsewhere, the input that carries name on the release keeps it and posts what it posts there: the typed input in most cases, NumberInput's hidden input (the committed number) in every case when formatValue is set, and nothing from DateTimeInput's time segment, which carries no name.
    • No posted value changes, so the patch stays an FR53 fix.
    • Two cases still post typed text the field rejects, as today: kept incomplete, nonexistent, or out-of-range date text, and a NumberInput (without formatValue) or TimeInput draft that Enter submits before blur. Blocking submission in 0.8.0 covers both.
  2. A typed number is complete only at commit (DEC-12, 2026-11-11). Precedent: React Aria's NumberField. Rejected: the digit-reachability rule.
  3. A shown rejection stays while the person edits (DEC-7). A changed message is announced once.
  4. A warning or success status never hides a rejection (DEC-11).
  5. Unreadable DateInput text replaces a caller status (DEC-8).
  6. A native date or time control restores its committed value at blur and keeps the rejection shown (DEC-9). The rejection follows FR6.
  7. Grouped fields announce only (DEC-10). A visible message inside an InputGroup is a known gap.
  8. The DateTimeInput time segment follows TimeInput's caller-status rule (FR7). When both segments hold a rejection, the date segment's message shows.
  9. Names and kinds: NumberInputEntryError (unreadable, fractional, outOfRange) and TimeInputEntryError (unreadable, outOfRange).
  10. Dates and times complete when every field is present; a native date value completes at commit (DEC-2).
  11. Earlier rulings, unchanged: DEC-1, DEC-3, DEC-4, DEC-5, DEC-6, and DEC-8.

Note for the owner: out of range at commit

This note is unchanged.

  • NumberInput's commit clamps an out-of-range number and calls onChange with the clamped value (component:NumberInput FR3). The record keeps clamping.
  • So outOfRange appears only when min is above max.
  • Showing an error instead of clamping would be an FR1 change, fit for a separate opt-in such as React Aria's commitBehavior="validate".

Defaults (project status, outside the records)

  • DateInput shows its own message over the app's status, as it has since 0.7.9, unless the app passes onEntryErrorChange.
  • NumberInput and TimeInput show the app's error status.
  • Either default can be changed now through onEntryErrorChange.
  • One consistent default is planned for 0.8.0 as a breaking change, together with blocking submission.

Numbering

AST-117 took the ids free on main before this branch: family FR14, DateInput FR24, DateTimeInput FR15, TimeInput FR13, and NumberInput FR14. AST-118's projections move to the next free ids:

  • family FR15;
  • DateInput FR25;
  • DateTimeInput FR16;
  • TimeInput FR14 (rejections) and FR15 (caller status and callback);
  • NumberInput FR15 (rejections) and FR16 (caller status and callback).

AST-118's body, its verification rows, and the rows that point to the projections use the new ids.

AST-117's FR4 still names a member that "drops the rejected entry at that commit", and its DEC-4 covers that case. Once AST-118 lands, no member drops an entry, so that clause applies to nothing. It is left unchanged in spec:AST-117, which this PR does not touch.

Rejected alternatives

  • A pause in typing as completion (DEC-1).
  • The digit-reachability rule for numbers (DEC-12).
  • Classifying the default changes under FR1 (DEC-8).
  • Amending InputGroup, TextInput, and TimeInput FR10 to show a grouped member's message (DEC-10).
  • Posting the committed value's text in every case in this patch. It changes what a released form posts, an FR1 change (DEC-13). It waits for 0.8.0.
  • Restoring a native control at Enter. A form submitted on that Enter would post the committed value where the release posts the control's value (FR4).
  • Holding back Enter in TimeInput or the time segment. It changes form submission (DEC-6).

Claim scope and non-goals

  • The record governs only rejections a member makes itself.
  • Out of scope:
    • entryErrorBehavior itself (spec:AST-117);
    • grouped status layout;
    • caller validation and native constraint validation;
    • the wording and delivery of messages;
    • what a commit does with an accepted entry, including NumberInput's clamp;
    • onChange timing;
    • blocking form submission (0.8.0);
    • FileInput.
  • No implementation, no .doc.mjs changes, and no changeset.

Evidence and implementation relationship

  • NumberInput: resolveNumberInputCommit reverts an unparsable or wrong-kind draft, and every draft when min is above max, on blur. Enter keeps the draft and is not prevented.
  • TimeInput: blur reverts a draft that does not parse or is out of range. Enter is not a commit and is not prevented.
  • DateInput and the date segment:
    • The commit keeps incomplete, nonexistent, and out-of-range text, and reverts unreadable text.
    • The Enter handler prevents Enter while isPending, so after a revert the next Enter submits.
  • Native controls: they hold their own value until the sync effect snaps them back when focus leaves.
  • Base props: caller props, including name, reach the typed input (the date segment for DateTimeInput).
  • React Aria's useNumberField docs:
    • displayValidation updates "when the user commits their changes".
    • commitBehavior defaults to 'snap'.
  • Implementation follows in separate PRs once the record is approved.

Writing rubric results

spec:AST-118

  • R1 narration: Intent, Requirements, and Decision log are in the present tense. Compatibility compares with the latest stable release, as spec:AST-017 needs. DEC-13's owner-history line is removed.
  • R2 research in the record: none. DEC-12 carries one precedent sentence, and DEC-1 one guidance sentence.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: three, each one line inside its decision: DEC-1, DEC-12, and DEC-13.
  • R5 pull request or issue references remaining: none. I searched for # plus digits, /pull/, and /issues/. spec:AST-117 is cited as a record, which is allowed.
  • R6 ruled open questions still listing options: none. The record lists no open questions.
  • R7 project status: none. The 0.8.0 plans stay in this PR body. Gaps read FRn gap: or AR3 gap:.

family:input-fields

component:NumberInput, component:TimeInput, component:DateInput, component:DateTimeInput

  • R1 narration: none. The renumbered rows, the AST-117 rows reconciled with AST-118, and the name and Enter sentences are in the present tense.
  • R2–R4: none.
  • R5 pull request or issue references remaining: none added. One older test name in the DateInput FR6 verification cell contains (#5074), outside this delta.
  • R6 ruled open questions still listing options: none.
  • R7 project status: gaps stay inline as "Implementation gap:".

Scope

Components: DateInput, DateTimeInput, TimeInput, NumberInput (records only); the input-fields family record

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract. (The hidden form input is the form-value contract: native forms depend on the posted name/value pair.)
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge: "Knowledge templates and records are aligned." No status warning for any touched record.
  • Prettier: prettier --check is clean on the six records.
  • git diff --check: clean.
  • pnpm review:pre, head against current origin/main (8f42963): 790 authored lines, 0 findings, merges cleanly. Checklist items:
    • [d] public boundary;
    • [g] a spec owner approves the record content.
  • pnpm specs:for --diff origin/main: no concern-routed claims.

…n entries (draft)

A draft system spec for how DateInput, DateTimeInput, TimeInput, and
NumberInput report their own rejections: no flag on an unfinished entry, a
point of completion for each kind of entry, rejected text kept at commit, and
every rejection shown as a visible message with the invalid state and one
announcement. The input-field family and the four component records project
it, each with its requirement gaps.
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 12, 2026 12:06pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 11, 2026
@astracat-bot

astracat-bot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 12, 2026, 12:18 PM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 11, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the new draft spec:AST-118 and the new or reworded claims it adds to the five current records, including OQ1–OQ4 and the spec:AST-017 FR53 classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

These record issues need fixing either way:

  • FR5, AR3 and the FR5 verification row require a visible message for every rejection, including inside InputGroup, but component:TextInput FR1, component:TimeInput FR10 and component:InputGroup FR1, which this pull request leaves unchanged, show no visible member status there, so state where a grouped member's rejection appears and amend those records, or scope FR5 and AR3 to standalone fields and list grouped fields as a gap.
  • FR7 makes Enter a commit in every typed field, but the FR7 gap, the Compatibility entry, and DateTimeInput FR16's gap and Current-state bullet leave out DateTimeInput's time segment, whose Enter commits nothing unless its preset-time list is open (the time field's key handler in DateTimeInput.tsx).
  • The Members sentence calls these "the four members of family:input-fields that reject entries themselves" and family FR15 is titled "Members never … drop a rejected one", yet FileInput rejects wrong-type and oversize files itself and drops them, so name FileInput as outside the record with its reason and title family FR15 for the four members.

Two smaller points: the family's Known-gaps bullet names only NumberInput and TimeInput, and DateInput FR25 should say whether a native date control keeps or restores a rejected value at commit.

Claims and files checked
  • Verified: the companion timing pull request is an independent open draft whose default keeps shipped behaviour.
  • Verified: no current family or component claim decides when a member flags its own entry or what a commit does with a rejected one.
  • Verified: the cited status-announcement, calendar-system and compatibility claims say what the description says; the typed-date completeness definition is reused word for word and is itself draft.
  • Verified: today's component records describe the revert and keystroke-alert behaviour the description lists (DateInput FR20, the DateTimeInput committed-value concept, TimeInput FR3 and FR6, NumberInput FR2, FR3, AR2 and the inverted-range row).
  • Verified: NumberInput and TimeInput mark any draft that is not an in-range value invalid on each keystroke, with a visually hidden assertive alert and no visible message (NumberInput.tsx validity and alert region, TimeInput.tsx likewise).
  • Verified: NumberInput and TimeInput drop unparsable drafts on blur, TimeInput has no Enter commit, and the NumberInput commit clamps and reverts every number when min is above max (numberInputCommit.ts, the TimeInput blur handler).
  • Verified: unreadable date text is flagged on each keystroke (useTypedDate.ts).
  • Verified: the two open issues named ask for kept rejected text and a visible message.
  • Verified: the next record numbers are claimed as described, no other pull request uses this number, and the FR ids do not overlap the companion's.
  • False: only these four family members reject entries themselves; FileInput rejects wrong-type and oversize files itself (FileInput.tsx).
  • False: only TimeInput lacks an Enter commit; DateTimeInput's time segment commits nothing on Enter unless its preset list is open (DateTimeInput.tsx).
  • Verified: 455 authored lines in six records, a clean whitespace check, and no implementation, doc or changeset change.
  • Not checked: the knowledge-checker, formatter and routing-helper results, and the browser observation of partial native years, which the record itself asks to re-measure.
  • docs/specs/AST-118-rejected-entry-feedback/spec.md: grouped-field visibility, the missing DateTimeInput Enter gap, and the FileInput scope sentence.
  • docs/families/input-fields.md: FR15's title leaves out FileInput; the Known-gaps bullet names only two members (non-blocking).
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: FR16's gap and Current-state bullet omit the time segment's Enter.
  • docs/specs/components/NumberInput/NumberInput.spec.md: FR15's visible message conflicts with FR12's grouped status.
  • docs/specs/components/TimeInput/TimeInput.spec.md: FR14's visible message conflicts with the unamended FR10 grouped status.
  • docs/specs/components/DateInput/DateInput.spec.md: clear apart from the unstated native-value outcome at commit (non-blocking).

Automated review (maintainer link)

…ry errors reported

Classify every change in the record as one accessibility behavior fix under
AST-017 FR53 (WCAG 2.2 1.4.1 and 3.3.1), shipped in a patch. NumberInput,
TimeInput, and the DateTimeInput time segment keep a caller status over their
own message, and NumberInput and TimeInput report their rejections through an
optional onEntryErrorChange with NumberInputEntryError and TimeInputEntryError.
Enter commits TimeInput without holding back the form. The record states how
validationBehavior applies under these points and closes its dropped-entry
case, and the decided questions collapse into decisions.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds to five current records: the pending DEC-2 and DEC-7 (OQ1 and OQ2), the DECs that carry only the author's decider line, the caller-status split between DateInput and NumberInput/TimeInput, the optional onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

These record issues need fixing either way:

  • FR5 and AR3 promise a visible message for every rejection, including the InputGroup state in the FR5 verification row, but component:TextInput FR1, component:TimeInput FR10 and component:InputGroup FR1, which stay unchanged, give a grouped member no visible status, so say where a grouped member's rejection shows and amend those records, or scope FR5 and AR3 to standalone fields and list grouped fields as a gap.
  • Miss: because component:NumberInput FR6 puts name on the visible input when there is no formatValue, keeping a rejected draft after blur (FR3, the Range row, spec:AST-118 FR4) makes a native form post text such as 1a where it posts the committed number today, so require the form value to stay the committed number while rejected text stays, or classify that case under spec:AST-017 FR1.
  • Without the callback, FR7 keeps a caller warning or success status shown over a rejected NumberInput or TimeInput entry, so a field with aria-invalid="true" can read "Looks good" while only a hidden alert names the error, which contradicts DEC-8's claim that every change meets WCAG 1.4.1 and 3.3.1; apply the "never replaces a rejection" rule with or without the callback, or list the case as a remaining gap.
  • DEC-5 says an app that passes a status sees the same screen as on the latest release, but DateInput's unreadable text now stays and replaces the caller status where it used to revert and leave that status shown, so name this case in Compatibility and DEC-8 or keep the caller status for it.
  • FR11, DEC-9 and the first non-goal rely on spec:AST-117, which is only in the open draft #11310, and the projections skip the FR ids that draft reserves, so declare the two pull requests as a stack or move that text to whichever lands second and number the projections from the ids main has.
  • FR9 makes Enter a commit in every typed field, but the FR9 gap and DateTimeInput FR16's gap and Current-state bullet leave out DateTimeInput's time segment, whose Enter commits nothing unless its preset-time list is open.
  • The Members sentence and family FR15's title still imply that only these four members reject entries themselves, yet FileInput rejects wrong-type and oversize files and drops them, so name FileInput as outside the record and title family FR15 for the four members.

Smaller points: FR10 says a rejection returns once the field is editable while NumberInput FR9 and TimeInput FR9 drop a draft on a disabled commit; the family Known-gaps bullet names only NumberInput and TimeInput; and DateInput FR25 should say whether a native date control keeps or restores a rejected value at commit.

Claims and files checked
  • Verified: 587 authored lines in six Markdown records, with no implementation, doc or changeset change.
  • Verified: NumberInput and TimeInput mark any draft that is not an in-range value invalid on each keystroke, with secondary text and a visually hidden assertive alert, and drop unparsable drafts on blur (NumberInput.tsx, TimeInput.tsx).
  • Verified: TimeInput has no Enter commit; unreadable date text is flagged on each keystroke and reverts at commit (useTypedDate.ts); a rejected native date shows only colour and aria-invalid (NativeDateField.tsx).
  • Verified: today's component records describe the revert and keystroke-alert behaviour the description lists, and no current record decides when a member flags its own entry.
  • Verified: the cited status-announcement, disabled-state and compatibility claims say what the description says; typed-date completeness reuses a draft calendar record.
  • Verified: the two open issues named ask for kept rejected text and a visible message.
  • Verified: the FR ids do not overlap the companion pull request's, and the record contains no pull request or issue references.
  • False: apps keep every value unchanged; a NumberInput form posts kept rejected text (NumberInput.tsx visible input name).
  • False: an app that passes a status keeps its screen; DateInput's unreadable message now replaces it.
  • False: only TimeInput lacks an Enter commit; DateTimeInput's time segment has none unless its preset list is open (DateTimeInput.tsx).
  • False: the two records land independently; FR11, DEC-9 and the FR numbering depend on the companion draft.
  • Not checked: the knowledge-checker, formatter, pre-review and routing-helper results.
  • docs/specs/AST-118-rejected-entry-feedback/spec.md: grouped visibility, caller-status cases, DEC-5 wording, the companion dependency, the DateTimeInput Enter gap and the FileInput scope.
  • docs/families/input-fields.md: FR15's title leaves out FileInput and its id depends on the companion; the Known-gaps bullet names two members (non-blocking).
  • docs/specs/components/NumberInput/NumberInput.spec.md: FR3 keeps drafts that FR6 then submits; FR15's visible message conflicts with FR12's grouped status.
  • docs/specs/components/TimeInput/TimeInput.spec.md: FR14's visible message conflicts with the unchanged FR10 grouped status; FR9 drops drafts that FR10 of the new record expects back.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: FR16's gap and Current-state bullet omit the time segment's Enter.
  • docs/specs/components/DateInput/DateInput.spec.md: FR25 replaces a caller status for unreadable text, and leaves the native value's fate at commit unstated (non-blocking).

Automated review (maintainer link)

…tion, no AST-117 dependency

Scope the visible message to standalone fields: a member inside an InputGroup
keeps the group's display, its rejection set as aria-invalid and announced
through the field alert, with grouped fields listed as a gap. NumberInput posts
its committed number from a hidden input while a rejected draft stays. A
warning or success status never replaces a rejection on any member; the
unreadable DateInput case is named in Compatibility. A native date or time
control restores its committed value and keeps the rejection shown. Enter in
the DateTimeInput time segment commits and still submits a form. FileInput is
named as outside the record, disabled members match their drop rule, and the
projections take the ids main has, without the AST-117 cross-reference.
…ected-entry-feedback

# Conflicts:
#	docs/specs/components/DateInput/DateInput.spec.md
#	docs/specs/components/DateTimeInput/DateTimeInput.spec.md

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in the five current records: the pending DEC-2, DEC-7, DEC-9, DEC-10 and DEC-11 (OQ1–OQ3), the decisions that carry only the author's decider line, the caller-status rules, the optional onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

Every record issue from the earlier review is fixed at this head, and one still needs fixing either way:

  • Miss: the Intent and Compatibility say the form value does not change, but component:TimeInput FR11 and component:DateTimeInput FR8 send base props such as name to the typed input, so once FR4 keeps rejected text a form submitted after blur posts that text (such as 25:00) where the current code posts the committed value's text; scope those sentences and name this case in Compatibility and DEC-8 for the owner, or extend NumberInput FR6's hidden-input rule to these members.

Smaller points: say which message DateTimeInput shows when both segments hold a rejection, add FR7's conditions to the family FR14 sentence on caller-status precedence, and say whether FR6 re-announces an edit from one complete out-of-range number to another.

Claims and files checked

Claims in the description:

  • The changes are one accessibility fix shipped as a patch under the release record's accessibility rule: proposed in DEC-8 and Compatibility; awaits the owner decision.
  • The classification, what ships, the caller-status rule and Enter in TimeInput were already decided: the decision log carries the author's decider lines; no engineering-owner approval is recorded at this head.
  • The release record makes accessibility fixes patch-eligible with no app code change and admits optional additions: verified in its FR53, FR3 and FR5.
  • Inside InputGroup the group shows only its own status, a grouped TextInput or NumberInput renders no message box, and a grouped TimeInput's status is visually hidden: verified in InputGroup FR1, TextInput FR1 and TimeInput FR10.
  • NumberInput puts name on the visible input without formatValue, keeps an unparsable draft on Enter, and drops a draft when disabled: verified in its FR6, FR3 and FR9 and in NumberInput.tsx:1218.
  • The DateTimeInput time segment commits on Enter only while its preset-time list is open: verified at DateTimeInput.tsx:1569.
  • DateInput on main reports rejections through onEntryErrorChange, shows its message over a caller status unless the callback is set, and keeps typed text through a lock: verified in its FR20, AR3 and FR12.
  • A refused native date or time is restored and its rejection cleared at blur: verified in NativeDateField.tsx and NativeTimeSegment.tsx:260-270.
  • NumberInput and TimeInput mark and announce every invalid draft per keystroke, revert it on blur, and TimeInput has no Enter commit: verified at TimeInput.tsx:581-592, :636-669 and :868-886.
  • The projections take ids free on main, and the record no longer cites the companion validationBehavior record: verified.
  • The DateInput and TimeInput records define no form value, so name on the visible input is undocumented markup: partly false, since TimeInput FR11 and DateTimeInput FR8 document base props reaching the typed input (the blocking point above).
  • The record carries no pull request or issue references: verified.
  • 691 authored lines across six records, with no implementation, docs or changeset: verified.
  • The branch carries the current base with conflicts resolved and merges cleanly: verified.
  • The knowledge, formatting, pre-review and spec-routing checks pass: not rerun.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: the form-value claim (blocking); FR6 re-announcement wording (non-blocking).
  • docs/families/input-fields.md: FR14's caller-status sentence lacks FR7's conditions (non-blocking).
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: which message shows when both segments are rejected (non-blocking).
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/NumberInput/NumberInput.spec.md: clear.
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear.

Automated review (maintainer link)

Comment thread docs/families/input-fields.md Resolved
…estions are decided

NumberInput counts a typed number as complete only at Enter or blur, so it
marks and announces nothing while the person types and reveals the draft's
rejection at commit; a number outside an ordinary range still clamps. The
digit-reachability test and its examples are gone. A shown rejection stays
while an edit leaves the entry rejected, a native control restores its value
and keeps the rejection, grouped fields announce only, and a warning or
success status never hides a rejection: every decision now names its decider,
and no open question remains.
… text stays

TimeInput, DateInput, and the DateTimeInput date segment put `name` on their
typed input, so kept rejected text would post. Each now posts the committed
value's text from a hidden input while rejected text stays, as NumberInput
does; OQ1 asks the owner to confirm this for the submissions that post
rejected text on the latest stable release. DateTimeInput shows the date
segment's message when both segments hold a rejection, a changed message is
announced once while the same one is not repeated, and the family rule names
the caller-status conditions.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in family:input-fields and the DateInput, DateTimeInput, TimeInput and NumberInput records, including DEC-12's commit-only number rule, DEC-13's hidden-input form value, onEntryErrorChange, and the spec:AST-017 FR53 patch classification. The record's decisions carry only the author's decider lines; an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

Two record fixes are needed either way:

  • Compatibility (spec.md:270-273) and DEC-8 class every change as a WCAG fix under spec:AST-017 FR53, but the FR4 gap (spec.md:366-369) calls the two submissions DEC-13 changes (Enter-submitted drafts and kept nonexistent or out-of-range date text) outside WCAG, so keep the release result for them or classify them under the spec:AST-017 rule that admits them.
  • Regression: the Public contract example (spec.md:108-111) maps outOfRange for min={1} max={40}, but DEC-12 now reports outOfRange only when min is above max, so its message can never show; map fractional or unreadable instead.

Three smaller wording notes are inline.

Claims and files checked

Claims:

  • The four inputs' default rejection behaviour is recorded in a new draft record: verified (spec.md).
  • The record has no open questions and every decision names the author as decider: verified (spec.md:405-539, :553-555); no engineering owner approval is recorded for this head.
  • While rejected text stays, a form posts the committed value's text from a hidden input, projected into TimeInput FR11, DateTimeInput FR8, DateInput FR24 and NumberInput FR6: verified.
  • When both DateTimeInput segments hold a rejection, the date segment's message shows: verified (spec.md:192-195, DateTimeInput FR15).
  • The family FR14 projection names the form value and the caller-status conditions: verified.
  • Apps change no code and a form never posts rejected text: holds for text the release reverts; the two changed submissions are the first finding above.
  • DateInput, TimeInput and DateTimeInput pass caller props to the typed input; NumberInput and TimeInput do not prevent Enter outside a disabled field; DateInput holds Enter back while text is pending: verified in source.
  • NumberInput and TimeInput mark and announce invalid drafts on each keystroke and revert unparsable drafts on blur: verified in source.
  • The DateTimeInput time segment handles Enter only while its preset list is open: verified in source.
  • NumberInput clamps an out-of-range number at commit and reports the clamped value: verified (NumberInput FR3 and its commit source).
  • The new FR ids are free on the main branch, and the new record has no pull request or issue references: verified.
  • No implementation, doc or changeset changes: verified.
  • Whitespace check is clean and the branch merges cleanly with the main branch: verified.
  • Authored size: 738 lines against this base (the description's 740 used another base commit).
  • Knowledge-record check and Prettier results: not rerun.
  • React Aria documentation claims: not checked.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: two blocking findings, two notes.
  • docs/families/input-fields.md: one note (FR14 title).
  • docs/specs/components/NumberInput/NumberInput.spec.md: one note (FR2 range clause).
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear.
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.

Automated review (maintainer link)

Comment thread docs/families/input-fields.md Resolved
…ers only text the release reverts

Every posted value stays as on the latest stable release, so the change
remains an accessibility behavior fix under AST-017 FR53: a hidden input
carries the committed value's text after blur keeps a rejected NumberInput or
TimeInput draft, or Enter or blur keeps unreadable date text, and the typed
input posts its text wherever the release keeps it. DEC-13 is pending the
owner's confirmation of that narrowing. The public example maps a fractional
entry, a native restore follows FR6, NumberInput FR2 limits the range test to
an inverted range, and the family rule says no rejected entry is dropped
silently.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in family:input-fields and the DateInput, DateTimeInput, TimeInput and NumberInput records, including the narrowed DEC-13 (still Decider: pending), onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

The two record fixes from the last review are done: every submission FR4 lists now posts what the latest release posts, and the Public contract example maps a reachable kind. Five non-blocking notes are inline, led by FR4's native restore at Enter, which can still change what a form submitted on that Enter posts, against DEC-13.

Claims and files checked

Claims:

  • Every earlier question has a recorded decision and the record has no open questions, with the narrowed form-value decision pending confirmation: verified (Open questions: None; DEC-13 reads Decider: pending); no engineering owner approval is recorded for this head.
  • A form posts exactly what it posts on the latest release: verified for every case FR4 lists against the components' source; a native control's restore at Enter is the one exception (first note).
  • The record changes listed in the description's table: verified in the six records.
  • NumberInput reverts an unparsable or wrong-kind draft, and every draft when min is above max, on blur, and keeps the draft on an unprevented Enter: verified in source.
  • TimeInput reverts an unparsable or out-of-range draft on blur and does not prevent Enter: verified in source.
  • DateInput keeps incomplete, nonexistent and out-of-range text at commit, reverts unreadable text, and holds back Enter while text is pending: verified in source.
  • Native date and time controls snap back to the committed value when focus leaves: verified in source.
  • DateInput, TimeInput and DateTimeInput pass caller props, name included, to the typed input (the date segment for DateTimeInput): verified in source.
  • NumberInput clamps an out-of-range number at commit, so outOfRange occurs only when min is above max: verified (NumberInput FR3 and its commit source).
  • The new FR ids are free on the main branch: verified.
  • No implementation, doc or changeset changes: verified.
  • Authored size of 741 lines: verified.
  • Knowledge-record check, Prettier, whitespace and pre-review results: not rerun.
  • React Aria documentation quotes: not checked.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: four non-blocking notes.
  • docs/specs/components/NumberInput/NumberInput.spec.md: one non-blocking note (FR3 Enter sentence).
  • docs/families/input-fields.md: clear apart from repeating the native restore at commit.
  • docs/specs/components/DateInput/DateInput.spec.md: clear apart from repeating the native restore at commit.
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear apart from repeating the native restore at commit.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.

Automated review (maintainer link)

…ected-entry-feedback

# Conflicts:
#	docs/families/input-fields.md
#	docs/specs/components/DateInput/DateInput.spec.md
#	docs/specs/components/DateTimeInput/DateTimeInput.spec.md
#	docs/specs/components/NumberInput/NumberInput.spec.md
#	docs/specs/components/TimeInput/TimeInput.spec.md
…mpletion points; the form value is decided

AST-118 FR1 says that entryErrorBehavior="complete" reveals at its points of
completion and 'blur-or-enter' at commit. The AST-117 projections reveal under
'complete' when the AST-118 projections state, and keep rejected text under
'blur-or-enter'. A native control restores its committed value at blur. The
hidden input carries `name` until the kept text is edited, and kept unreadable
date text lets the next Enter submit the committed date. NumberInput FR3 shows
an Enter-kept draft's rejection, FR5's title fits one line, the family rule
has a one-line title, and DEC-13 records the owner's decision.
@nynexman4464

Copy link
Copy Markdown
Contributor Author

/approve-spec 1841486

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 12, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested for one record fix. Every proposed claim has an engineering owner's /approve-spec at this head. The merge with main broke one current requirement row.

  • docs/specs/components/TimeInput/TimeInput.spec.md:131: the merge put padding between the backslash and the pipe it escaped in TimeInput FR2's onChange(isoTime | undefined). The row now splits after onChange(isoTime, so FR2's changeAction, pending and busy contract no longer reads as FR2. Restore the row exactly as it is on main.

Two non-blocking wording notes are inline: FR4's formatValue case and DEC-6's submitted value. A new commit needs a new /approve-spec from an engineering owner for its head.

Claims and files checked

Claims:

  • The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: consistent with that rule, which admits optional additions and no app code change. The classification itself is part of the owner-approved record.
  • Each rejection appears once the entry is complete or at commit, shows a visible message, and keeps the typed text: verified in the new record and the four member records.
  • What a form posts does not change: verified for every case the form-value requirement lists, against the components' current source. The requirement's "every other case posts the typed text" wording misses NumberInput with formatValue (non-blocking note).
  • An owner has ruled on every question, and the record has no open questions: verified. Every decision names a decider, Open questions reads None, and an engineering owner approved this exact head.
  • The entry-error-behavior record is on the main branch, and this branch merges it: verified.
  • The new requirements move to the next free ids, and every cross-reference follows: verified in all six records.
  • The merge keeps both sides: false. It also rewrote TimeInput FR2 (the blocking finding).
  • The record changes listed in the description's table (NumberInput's Enter and form-value rows, TimeInput's form-value row, the DateInput and DateTimeInput name rule, the one-line family title, the native restore at blur, the form-value decision's decider): verified.
  • NumberInput clamps an out-of-range number at commit, so its out-of-range rejection occurs only when min is above max: verified in its commit logic.
  • NumberInput, TimeInput, DateInput and the native controls revert, keep and hold back Enter as the evidence section describes, and caller props including name reach the typed input: verified in source.
  • No implementation, doc or changeset changes: verified.
  • 806 authored lines: verified.
  • Knowledge check, formatter, whitespace and pre-review results: not rerun, and CI was skipped on this draft head.
  • React Aria documentation quotes and the DateInput status-precedence release history: not checked.

Files:

  • docs/specs/components/TimeInput/TimeInput.spec.md: blocking (the FR2 row).
  • docs/specs/AST-118-rejected-entry-feedback/spec.md: two non-blocking notes (FR4 formatValue wording, DEC-6).
  • docs/specs/components/NumberInput/NumberInput.spec.md: clear.
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
  • docs/families/input-fields.md: clear.

Automated review (maintainer link)

…lows whichever input carries name on the release
@nynexman4464

Copy link
Copy Markdown
Contributor Author

/approve-spec dcf0f1e

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested, for the pull request description only: every proposed claim already has an engineering owner's /approve-spec for this head, and the TimeInput FR2 row is restored.

  • The Decision section's FR4 bullet still says "Everywhere else the typed input keeps name and posts its text", but FR4 at this head says the input that carries name on the latest stable release keeps it, which differs for NumberInput with formatValue and for DateTimeInput's time segment.
  • The Validation section reports 806 authored lines from pnpm review:pre, but this head has 785 (729 added, 56 deleted), so the section still describes the previous head.

Editing the description needs no new commit, so the existing /approve-spec stays valid, while a new commit would need a new one. One non-blocking note is inline: FR4's example list and Compatibility still say an Enter-submitted NumberInput draft posts its typed text, where with formatValue it posts the committed number.

Claims and files checked

Claims:

  • The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: consistent with that rule; the classification is part of the owner-approved record.
  • Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the form value unchanged: verified in the new record and the four member records (inside an input group the visible message is the gap the record names).
  • An owner has ruled on every question, and the record has no open questions: verified.
  • The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids with every cross-reference following: verified in all six records.
  • The Decision section's completion points, rejection timing, hidden-input cases, name handoff, unreadable-date Enter rule, native restore at blur and one-line message title: verified.
  • Everywhere else the typed input keeps the name and posts its text: false at this head (blocking).
  • The record changes listed in the revision table: verified.
  • The owner decisions list: verified, except that a draft Enter submits posts its typed text, which is imprecise for a number field with a display formatter (non-blocking).
  • The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
  • The date field has shown its own message over the app's status since 0.7.9: not verified; the 0.7.9 release notes do not say.
  • The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where the name goes): verified in source.
  • The quoted React Aria documentation: not checked.
  • Knowledge check, formatter and spec-routing results: not rerun, because dependencies could not be installed; the tables in all six records are aligned, the whitespace check is clean, and the branch merges cleanly with main.
  • 806 authored lines: false at this head, which has 785 (blocking).
  • Records only, with no implementation, doc or changeset changes: verified.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: one non-blocking note (the formatter case in FR4's example list and Compatibility).
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear (FR2 restored as on main).
  • docs/specs/components/NumberInput/NumberInput.spec.md: clear.
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
  • docs/families/input-fields.md: clear.

Automated review (maintainer link)

@nynexman4464

Copy link
Copy Markdown
Contributor Author

/approve-spec 45244c2

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested, for the pull request description only: every record change already has an engineering owner's /approve-spec for this head.

  • The description's owner decision 1 still says the typed input posts kept text and that a draft Enter submits before blur posts its typed text, but FR4 at this head says a NumberInput with formatValue posts the committed number from its hidden input in every case and DateTimeInput's time segment posts nothing, and the "Changed in this revision" heading says one fix commit follows the merge where three do.

Editing the description needs no new commit, so the existing /approve-spec stays valid, while a new commit would need a new one. Two non-blocking notes are inline: the text NumberInput's hidden input posts in a comma-decimal locale, and when TimeInput's native control restores its value.

Claims and files checked

Claims:

  • The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified; the classification is part of the owner-approved record.
  • Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the posted value unchanged: verified (inside an input group the visible message is the gap the record names; one narrow comma-decimal case is a non-blocking note).
  • An owner has ruled on every question, and the record has no open questions: verified.
  • The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
  • The 0.8.0 plans are outside the record: verified.
  • The existing authority listed (compatibility rules, entry-error-behavior rules, base props and name, Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch.
  • The Decision section's completion points, rejection timing, hidden-input cases, the name handoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified; the requirements after it are unchanged.
  • The rows of the "Changed in this revision" table: verified; its heading's "one fix commit": false at this head (blocking).
  • Owner decision 1's "the typed input posts it" and "a draft that Enter submits before blur" posts typed text: false at this head for a number field with formatValue and for the date-time field's time segment (blocking); its other bullets and owner decisions 2 to 11: verified.
  • The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
  • The date field has shown its own message over the app's status since 0.7.9, unless the app passes the callback: verified in the 0.7.9 release notes and the source.
  • The numbering, rejected alternatives, scope and non-goals: verified.
  • The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where name goes): verified in source.
  • The quoted React Aria documentation: verified.
  • The writing-rubric results and the records-only scope: verified.
  • Whitespace check, 787 authored lines and a clean merge with main: verified; the knowledge check, formatter and spec-routing results were not rerun.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: one non-blocking note (the hidden input's number text).
  • docs/specs/components/NumberInput/NumberInput.spec.md: one non-blocking note (FR6 and its verification row).
  • docs/specs/components/TimeInput/TimeInput.spec.md: one non-blocking note (FR14's native restore timing).
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
  • docs/families/input-fields.md: clear.

Automated review (maintainer link)

… as the focused field shows it; TimeInput native restore at blur
@nynexman4464

Copy link
Copy Markdown
Contributor Author

/approve-spec b4f8014

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested for one record fix: every proposed claim already has an engineering owner's /approve-spec for this head, and the two description issues from the last review are fixed.

  • spec:AST-118 FR4 and component:NumberInput FR6 now give the hidden input the committed number "as the focused field shows it", but a NumberInput without formatValue shows 2.5 at rest and 2,5 (in de-DE) only while focused, so a decimal-comma form submitted with a Submit click after a rejected entry would post 2,5 where the latest release posts 2.5, against the record's own rule that no posted value changes; describing the text as the field shows it on the latest release (the plain number while unfocused, the locale-formatted number while focused) and adding a decimal-comma locale to the FR4 verification states would fix it.

A record edit needs a new commit, so it also needs a new /approve-spec. One non-blocking note: the description's table of changes since the last review leaves out this head's last commit.

Claims and files checked

Claims:

  • The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified as record text, but its no-posted-change basis fails for the decimal-comma number case (blocking).
  • Each rejection appears once the entry is complete or at commit, shows a visible message and keeps the typed text: verified (inside an input group the visible message is the gap the record names).
  • What a form posts stays unchanged: false for a number field without a custom formatter in a decimal-comma locale submitted after blur (blocking).
  • An owner has ruled on every question, and the record has no open questions: verified.
  • The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
  • The 0.8.0 plans are outside the record: verified.
  • The existing authority listed (compatibility rules, entry-error-behavior rules, base props and name, Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch.
  • The Decision section's completion points, rejection timing, hidden-input cases, the name handoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified.
  • The rows of the table of changes since the last review: verified; the table leaves out this head's last commit (non-blocking).
  • Owner decisions 1 to 11: verified, except decision 1's "no posted value changes" for the decimal-comma number case (blocking, the same finding).
  • The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
  • The defaults section (the date field's own message since 0.7.9 unless the app passes the callback; the number and time fields show the app's error status): verified in the source and release notes.
  • The numbering, rejected alternatives, scope and non-goals: verified.
  • The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where name goes): verified in source.
  • The quoted React Aria documentation: verified against the published documentation.
  • The writing-rubric results and the records-only scope: verified.
  • Whitespace check, 788 authored lines and a clean merge with main: verified; the knowledge check and formatter results were not rerun.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: blocking (FR4's hidden-input number text).
  • docs/specs/components/NumberInput/NumberInput.spec.md: blocking (FR6, the same finding).
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear.
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
  • docs/families/input-fields.md: clear.

Automated review (maintainer link)

@nynexman4464

Copy link
Copy Markdown
Contributor Author

/approve-spec 0009f0a

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: one CI job is still running on this head. Every proposed claim in spec:AST-118 and its five projections has an engineering owner's /approve-spec for this head, and the earlier finding on NumberInput's posted number text is fixed.

  • AST-118 FR4 and NumberInput FR6 now give the kept-draft hidden input the number as the latest release's field shows it (2.5 unfocused, 2,5 focused in a decimal-comma locale), so a form posts what it posts today, and FR4's verification row covers both cases.

One optional wording fix, which would need a new commit and a new /approve-spec: FR4's NumberInput clause applies to every NumberInput, while its later sentence and NumberInput FR6 keep the raw committed number for a field with formatValue; writing "for a NumberInput without formatValue" there would remove the overlap.

Claims and files checked

Claims:

  • The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified; the record meets that rule's conditions (no app change, optional additions only, posted values unchanged).
  • Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the posted value unchanged: verified (inside an input group the visible message is the gap the record names).
  • An owner has ruled on every question, and the record has no open questions: verified.
  • The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
  • The 0.8.0 plans stay outside the record: verified.
  • The existing authority listed (compatibility rules, entry-error-behavior rules, base props and name, the Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch.
  • The Decision section's completion points, rejection timing, hidden-input cases, the name handoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified.
  • Every row of the table of changes since the last review, including the number field's focus-following hidden-input text and its decimal-comma verification state: verified.
  • Owner decisions 1 to 11: verified.
  • The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
  • The defaults section: verified in the source and release notes; the number and time fields' callback is proposed record text.
  • The numbering, rejected alternatives, scope and non-goals: verified.
  • The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where name goes): verified in source.
  • The quoted React Aria documentation: verified against the published documentation.
  • The writing-rubric results and the records-only scope: verified.
  • The knowledge check passes with no status warning for a touched record: verified in this head's CI.
  • Whitespace check, 790 authored lines and a clean merge with main: verified; the formatter, pre-review and spec-routing results were not rerun.

Files:

  • docs/specs/AST-118-rejected-entry-feedback/spec.md: clear, with one optional wording note (FR4's formatValue scope).
  • docs/specs/components/NumberInput/NumberInput.spec.md: clear.
  • docs/specs/components/TimeInput/TimeInput.spec.md: clear.
  • docs/specs/components/DateInput/DateInput.spec.md: clear.
  • docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
  • docs/families/input-fields.md: clear.

Automated review (maintainer link)

rejected `NumberInput` or `TimeInput` draft, and after Enter or blur on
unreadable `DateInput` or `DateTimeInput` date text, a hidden input carries
the caller's `name` with the committed value's text, and the typed input
carries none: for `NumberInput`, the committed number as the field shows it on

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: this clause covers every NumberInput, so read alone it gives a focused field with formatValue the locale text (2,5), while the sentence at line 182 and component:NumberInput FR6 keep the raw committed number there, as the latest release's hidden input posts String(value). "for a NumberInput without formatValue" here would remove the overlap.

@nynexman4464
nynexman4464 marked this pull request as ready for review November 12, 2026 12:15
@nynexman4464
nynexman4464 merged commit 0e8cc4b into main Nov 12, 2026
119 checks passed
@github-actions
github-actions Bot deleted the nynexman4464/spec/rejected-entry-feedback branch November 13, 2026 06:03

This branch was successfully deployed

1 active deployment
Preview — 0009f0a2 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant