Skip to content

Commit 0baabf3

Browse files
Remove output format
1 parent 1f00c35 commit 0baabf3

File tree

7 files changed

+1
-22
lines changed

7 files changed

+1
-22
lines changed

docs/guides/renderer-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ To ensure a consistent user experience across platforms, A2UI defines a standard
7777
- **Button**: A clickable element that triggers a `userAction`. Must be able to contain a `child` component (typically Text or Icon) and may vary in style based on the `primary` boolean.
7878
- **CheckBox**: A checkbox that can be toggled, reflecting a boolean value.
7979
- **TextField**: An input field for text. Must support a `label`, `text` (value), `textFieldType` (`shortText`, `longText`, `number`, `obscured`, `date`), and `validationRegexp`.
80-
- **DateTimeInput**: A dedicated input for selecting a date and/or time. Must support `enableDate`, `enableTime`, and an `outputFormat`.
80+
- **DateTimeInput**: A dedicated input for selecting a date and/or time. Must support `enableDate` and `enableTime`.
8181
- **MultipleChoice**: A component for selecting one or more options from a list (`options`). Must support `maxAllowedSelections` and bind `selections` to a list or single value.
8282
- **Slider**: A slider for selecting a numeric value (`value`) from a defined range (`minValue`, `maxValue`).

renderers/lit/src/0.8/schemas/server_to_client_with_standard_catalog.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,6 @@
646646
"enableTime": {
647647
"type": "boolean",
648648
"description": "If true, allows the user to select a time."
649-
},
650-
"outputFormat": {
651-
"type": "string",
652-
"description": "The desired format for the output string after a date or time is selected."
653649
}
654650
},
655651
"required": ["value"]

renderers/lit/src/0.8/ui/root.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ export class Root extends SignalWatcher(LitElement) {
348348
.dataContextPath=${node.dataContextPath ?? ""}
349349
.enableDate=${node.properties.enableDate ?? true}
350350
.enableTime=${node.properties.enableTime ?? true}
351-
.outputFormat=${node.properties.outputFormat}
352351
.value=${node.properties.value}
353352
.enableCustomElements=${this.enableCustomElements}
354353
></a2ui-datetimeinput>`;

samples/agent/adk/contact_lookup/a2ui_schema.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,10 +620,6 @@
620620
"enableTime": {
621621
"type": "boolean",
622622
"description": "If true, allows the user to select a time."
623-
},
624-
"outputFormat": {
625-
"type": "string",
626-
"description": "The desired format for the output string after a date or time is selected."
627623
}
628624
},
629625
"required": ["value"]

samples/agent/adk/restaurant_finder/prompt_builder.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,6 @@
618618
"enableTime": {
619619
"type": "boolean",
620620
"description": "If true, allows the user to select a time."
621-
},
622-
"outputFormat": {
623-
"type": "string",
624-
"description": "The desired format for the output string after a date or time is selected."
625621
}
626622
},
627623
"required": ["value"]

specification/0.8/json/server_to_client_with_standard_catalog.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,6 @@
646646
"enableTime": {
647647
"type": "boolean",
648648
"description": "If true, allows the user to select a time."
649-
},
650-
"outputFormat": {
651-
"type": "string",
652-
"description": "The desired format for the output string after a date or time is selected."
653649
}
654650
},
655651
"required": ["value"]

specification/0.8/json/standard_catalog_definition.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,6 @@
579579
"enableTime": {
580580
"type": "boolean",
581581
"description": "If true, allows the user to select a time."
582-
},
583-
"outputFormat": {
584-
"type": "string",
585-
"description": "The desired format for the output string after a date or time is selected."
586582
}
587583
},
588584
"required": ["value"]

0 commit comments

Comments
 (0)