TextField

Take inputTextField

TextField is part of the Basic Catalog in Google's A2UI v1.0 protocol. This page shows how it behaves so you can build with it. Unofficial, and not affiliated with Google.

Live preview

What you try is exactly what we tested
variant (allowed values only)
Recorded snapshot · React 0.15.0 with web_core 0.15.0 · 2026-11-14Live · rendered in your browser by @a2ui/react 0.15.0
Recorded render of TextField (minimal)

What it is

A field for user text input.

In the trip planner

The trip planner does not use TextField. The settings form in the same explorer shows it in use. Open the explorer.

Properties

Schema properties for TextField
PropertyTypeRequiredAllowed valuesNew in 1.0
labelDynamicStringyes–
valueDynamicStringyes–
placeholderDynamicStringno–new in 1.0
variantstringnolongText, number, shortText, obscured

Evidence

PASS React 0.15.0 with web_core 0.15.0, v1.0 module · headless Chromium, Linux · 2026-11-14 · 1 run

What is not claimed

  • Other renderers (Lit, Angular, community) were not rerun; the 8 November 2026 matrix stands.
  • Gemini Enterprise was not tested in this run (14 November 2026).
  • Remote media was not loaded, so media records element creation and attributes, not playback.
  • Layout and visual quality are not judged.

Media and links in the examples use example.invalid placeholders. Navigation is intercepted and media is not played.

Findings

Findings

  • validationRegexp is removed in 1.0; use a regex check.
  • In React 0.15.0 the text input has no label tied to it (axe rule "label"). On the project's main branch, unreleased (checked 14 Nov 2026 at commit 3ed960186) the label check no longer fails on this page.

Recorded cases

Recorded cases for TextField
CaseExpectedObservedVerdict
type into TextField bound /name; model + sibling Text follow; host update flows backtyping updates the model, and a host update updates the inputPASS
two TextFields on one path: type in first, second input followstwo inputs on one path stay in stepPASS
longText variant (textarea) typinglongText is a textareaPASS
number variant typing -> model typevalue of a number-variant field is a string (the catalog types value as DynamicString)observed {"v": "42", "type": "string"}OBSERVED
TextField checks required: message visible when empty, hidden after typingcheck message shows when empty, hides once validPASS