@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.15 → 0.0.0-pr1628.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/api.md +18 -18
- package/components/checkbox/demo/customize.md +2 -2
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +16 -16
- package/components/combobox/demo/customize.min.js +32 -38
- package/components/combobox/demo/getting-started.md +1 -1
- package/components/combobox/demo/getting-started.min.js +32 -38
- package/components/combobox/demo/index.min.js +32 -38
- package/components/combobox/dist/auro-combobox.d.ts +5 -3
- package/components/combobox/dist/index.js +30 -36
- package/components/combobox/dist/registered.js +30 -36
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +5 -5
- package/components/counter/demo/customize.min.js +15 -13
- package/components/counter/demo/getting-started.min.js +15 -13
- package/components/counter/demo/index.min.js +15 -13
- package/components/counter/demo/voiceover.md +1 -1
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +1 -0
- package/components/counter/dist/index.js +15 -13
- package/components/counter/dist/registered.js +15 -13
- package/components/datepicker/demo/customize.min.js +22 -19
- package/components/datepicker/demo/getting-started.min.js +22 -19
- package/components/datepicker/demo/index.min.js +22 -19
- package/components/datepicker/dist/index.js +22 -19
- package/components/datepicker/dist/registered.js +22 -19
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +15 -13
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/customize.min.js +111 -117
- package/components/form/demo/getting-started.min.js +111 -117
- package/components/form/demo/index.min.js +111 -117
- package/components/form/demo/registerDemoDeps.min.js +110 -116
- package/components/form/demo/why-form.md +1 -1
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +6 -6
- package/components/input/demo/customize.min.js +7 -6
- package/components/input/demo/getting-started.min.js +7 -6
- package/components/input/demo/index.min.js +7 -6
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +2 -1
- package/components/input/dist/index.js +7 -6
- package/components/input/dist/registered.js +7 -6
- package/components/layoutElement/dist/auroElement.d.ts +4 -3
- package/components/layoutElement/dist/index.js +4 -3
- package/components/layoutElement/dist/registered.js +4 -3
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/index.min.js +6 -5
- package/components/menu/dist/auro-menu.d.ts +8 -3
- package/components/menu/dist/auro-menuoption.d.ts +2 -2
- package/components/menu/dist/index.js +6 -5
- package/components/menu/dist/registered.js +6 -5
- package/components/radio/demo/api.md +16 -16
- package/components/radio/demo/customize.md +1 -1
- package/components/radio/demo/customize.min.js +4 -4
- package/components/radio/demo/getting-started.min.js +4 -4
- package/components/radio/demo/index.min.js +4 -4
- package/components/radio/dist/auro-radio-group.d.ts +2 -2
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +4 -4
- package/components/radio/dist/registered.js +4 -4
- package/components/select/demo/api.md +47 -47
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.min.js +25 -32
- package/components/select/demo/getting-started.min.js +25 -32
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +25 -32
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +23 -30
- package/components/select/dist/registered.js +23 -30
- package/custom-elements.json +25 -25
- package/package.json +1 -1
|
@@ -346,7 +346,7 @@ export class AuroForm extends LitElement {
|
|
|
346
346
|
*/
|
|
347
347
|
private _setInitialState;
|
|
348
348
|
/**
|
|
349
|
-
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation
|
|
349
|
+
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
|
|
350
350
|
* @returns {boolean} True if the form is unchanged; false otherwise.
|
|
351
351
|
* @category behavior
|
|
352
352
|
*/
|
|
@@ -557,7 +557,7 @@ class AuroForm extends LitElement {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
|
-
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation
|
|
560
|
+
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
|
|
561
561
|
* @returns {boolean} True if the form is unchanged; false otherwise.
|
|
562
562
|
* @category behavior
|
|
563
563
|
*/
|
|
@@ -557,7 +557,7 @@ class AuroForm extends LitElement {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
|
-
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation
|
|
560
|
+
* Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
|
|
561
561
|
* @returns {boolean} True if the form is unchanged; false otherwise.
|
|
562
562
|
* @category behavior
|
|
563
563
|
*/
|
|
@@ -7,7 +7,7 @@ A single-line text field that lets people type a value, such as a name, email ad
|
|
|
7
7
|
|
|
8
8
|
**Key capabilities**
|
|
9
9
|
- **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
10
|
-
- **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
10
|
+
- **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
11
11
|
- **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12
12
|
- **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
13
13
|
- **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -94,11 +94,11 @@ A single-line text field that lets people type a value, such as a name, email ad
|
|
|
94
94
|
|
|
95
95
|
### Events
|
|
96
96
|
|
|
97
|
-
| Name | Description
|
|
98
|
-
| ------------------------- |
|
|
99
|
-
| auroFormElement-validated | Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
100
|
-
| auroInput-validityChange | Fires when `validity` changes.
|
|
101
|
-
| input | Fires when the value changes
|
|
97
|
+
| Name | Description |
|
|
98
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
99
|
+
| auroFormElement-validated | Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`. |
|
|
100
|
+
| auroInput-validityChange | Fires when `validity` changes. |
|
|
101
|
+
| input | Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set. |
|
|
102
102
|
|
|
103
103
|
### Slots
|
|
104
104
|
|
|
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
|
|
|
4591
4591
|
*
|
|
4592
4592
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4593
4593
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4594
|
-
* to the subclass's `.wrapper` element.
|
|
4595
|
-
* `shape`, and `size` properties with its own values and
|
|
4596
|
-
*
|
|
4594
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4595
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4596
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4597
|
+
* implements unless it overrides `render()`.
|
|
4597
4598
|
*
|
|
4598
4599
|
* **Key capabilities**
|
|
4599
4600
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -10639,7 +10640,7 @@ class DomHandler {
|
|
|
10639
10640
|
|
|
10640
10641
|
/**
|
|
10641
10642
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
10642
|
-
* @event input - Fires when the value changes
|
|
10643
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
10643
10644
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
10644
10645
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
10645
10646
|
*/
|
|
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
|
|
|
12610
12611
|
}
|
|
12611
12612
|
}
|
|
12612
12613
|
|
|
12613
|
-
var formkitVersion = '
|
|
12614
|
+
var formkitVersion = '202611121951';
|
|
12614
12615
|
|
|
12615
12616
|
/**
|
|
12616
12617
|
* @license
|
|
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611092125';
|
|
|
12633
12634
|
*
|
|
12634
12635
|
* **Key capabilities**
|
|
12635
12636
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
12636
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
12637
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
12637
12638
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12638
12639
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
12639
12640
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
|
|
|
4591
4591
|
*
|
|
4592
4592
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4593
4593
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4594
|
-
* to the subclass's `.wrapper` element.
|
|
4595
|
-
* `shape`, and `size` properties with its own values and
|
|
4596
|
-
*
|
|
4594
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4595
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4596
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4597
|
+
* implements unless it overrides `render()`.
|
|
4597
4598
|
*
|
|
4598
4599
|
* **Key capabilities**
|
|
4599
4600
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -10639,7 +10640,7 @@ class DomHandler {
|
|
|
10639
10640
|
|
|
10640
10641
|
/**
|
|
10641
10642
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
10642
|
-
* @event input - Fires when the value changes
|
|
10643
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
10643
10644
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
10644
10645
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
10645
10646
|
*/
|
|
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
|
|
|
12610
12611
|
}
|
|
12611
12612
|
}
|
|
12612
12613
|
|
|
12613
|
-
var formkitVersion = '
|
|
12614
|
+
var formkitVersion = '202611121951';
|
|
12614
12615
|
|
|
12615
12616
|
/**
|
|
12616
12617
|
* @license
|
|
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611092125';
|
|
|
12633
12634
|
*
|
|
12634
12635
|
* **Key capabilities**
|
|
12635
12636
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
12636
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
12637
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
12637
12638
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12638
12639
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
12639
12640
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
|
|
|
4591
4591
|
*
|
|
4592
4592
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4593
4593
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4594
|
-
* to the subclass's `.wrapper` element.
|
|
4595
|
-
* `shape`, and `size` properties with its own values and
|
|
4596
|
-
*
|
|
4594
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4595
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4596
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4597
|
+
* implements unless it overrides `render()`.
|
|
4597
4598
|
*
|
|
4598
4599
|
* **Key capabilities**
|
|
4599
4600
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -10639,7 +10640,7 @@ class DomHandler {
|
|
|
10639
10640
|
|
|
10640
10641
|
/**
|
|
10641
10642
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
10642
|
-
* @event input - Fires when the value changes
|
|
10643
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
10643
10644
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
10644
10645
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
10645
10646
|
*/
|
|
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
|
|
|
12610
12611
|
}
|
|
12611
12612
|
}
|
|
12612
12613
|
|
|
12613
|
-
var formkitVersion = '
|
|
12614
|
+
var formkitVersion = '202611121951';
|
|
12614
12615
|
|
|
12615
12616
|
/**
|
|
12616
12617
|
* @license
|
|
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611092125';
|
|
|
12633
12634
|
*
|
|
12634
12635
|
* **Key capabilities**
|
|
12635
12636
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
12636
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
12637
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
12637
12638
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12638
12639
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
12639
12640
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* **Key capabilities**
|
|
5
5
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
6
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
6
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
7
7
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
8
8
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
9
9
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
3
|
-
* @event input - Fires when the value changes
|
|
3
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
4
4
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
5
5
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
6
6
|
*/
|
|
@@ -594,6 +594,7 @@ export default class BaseInput extends AuroElement {
|
|
|
594
594
|
* @returns {void}
|
|
595
595
|
*/
|
|
596
596
|
private initializeArchitectureDefaults;
|
|
597
|
+
layout: string | undefined;
|
|
597
598
|
shape: string | undefined;
|
|
598
599
|
size: string | undefined;
|
|
599
600
|
/**
|
|
@@ -4533,9 +4533,10 @@ class AuroFormValidation {
|
|
|
4533
4533
|
*
|
|
4534
4534
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4535
4535
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4536
|
-
* to the subclass's `.wrapper` element.
|
|
4537
|
-
* `shape`, and `size` properties with its own values and
|
|
4538
|
-
*
|
|
4536
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4537
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4538
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4539
|
+
* implements unless it overrides `render()`.
|
|
4539
4540
|
*
|
|
4540
4541
|
* **Key capabilities**
|
|
4541
4542
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -10581,7 +10582,7 @@ class DomHandler {
|
|
|
10581
10582
|
|
|
10582
10583
|
/**
|
|
10583
10584
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
10584
|
-
* @event input - Fires when the value changes
|
|
10585
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
10585
10586
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
10586
10587
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
10587
10588
|
*/
|
|
@@ -12552,7 +12553,7 @@ class AuroHelpText extends LitElement {
|
|
|
12552
12553
|
}
|
|
12553
12554
|
}
|
|
12554
12555
|
|
|
12555
|
-
var formkitVersion = '
|
|
12556
|
+
var formkitVersion = '202611121951';
|
|
12556
12557
|
|
|
12557
12558
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12558
12559
|
// See LICENSE in the project root for license information.
|
|
@@ -12563,7 +12564,7 @@ var formkitVersion = '202611092125';
|
|
|
12563
12564
|
*
|
|
12564
12565
|
* **Key capabilities**
|
|
12565
12566
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
12566
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
12567
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
12567
12568
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12568
12569
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
12569
12570
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -4533,9 +4533,10 @@ class AuroFormValidation {
|
|
|
4533
4533
|
*
|
|
4534
4534
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4535
4535
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4536
|
-
* to the subclass's `.wrapper` element.
|
|
4537
|
-
* `shape`, and `size` properties with its own values and
|
|
4538
|
-
*
|
|
4536
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4537
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4538
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4539
|
+
* implements unless it overrides `render()`.
|
|
4539
4540
|
*
|
|
4540
4541
|
* **Key capabilities**
|
|
4541
4542
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -10581,7 +10582,7 @@ class DomHandler {
|
|
|
10581
10582
|
|
|
10582
10583
|
/**
|
|
10583
10584
|
* Shared base class for `auro-input` that handles the value, formatting, and validation.
|
|
10584
|
-
* @event input - Fires when the value changes
|
|
10585
|
+
* @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
|
|
10585
10586
|
* @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
|
|
10586
10587
|
* @event auroInput-validityChange - Fires when `validity` changes.
|
|
10587
10588
|
*/
|
|
@@ -12552,7 +12553,7 @@ class AuroHelpText extends LitElement {
|
|
|
12552
12553
|
}
|
|
12553
12554
|
}
|
|
12554
12555
|
|
|
12555
|
-
var formkitVersion = '
|
|
12556
|
+
var formkitVersion = '202611121951';
|
|
12556
12557
|
|
|
12557
12558
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12558
12559
|
// See LICENSE in the project root for license information.
|
|
@@ -12563,7 +12564,7 @@ var formkitVersion = '202611092125';
|
|
|
12563
12564
|
*
|
|
12564
12565
|
* **Key capabilities**
|
|
12565
12566
|
* - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
|
|
12566
|
-
* - **Validation messages**: Set `required`, `minlength`, `maxlength`,
|
|
12567
|
+
* - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
|
|
12567
12568
|
* - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
|
|
12568
12569
|
* - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
|
|
12569
12570
|
* - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* It declares the `onDark` property and provides helpers that apply the
|
|
5
5
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
6
|
-
* to the subclass's `.wrapper` element.
|
|
7
|
-
* `shape`, and `size` properties with its own values and
|
|
8
|
-
*
|
|
6
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
7
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
8
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
9
|
+
* implements unless it overrides `render()`.
|
|
9
10
|
*
|
|
10
11
|
* **Key capabilities**
|
|
11
12
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -5,9 +5,10 @@ import { LitElement } from 'lit';
|
|
|
5
5
|
*
|
|
6
6
|
* It declares the `onDark` property and provides helpers that apply the
|
|
7
7
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
8
|
-
* to the subclass's `.wrapper` element.
|
|
9
|
-
* `shape`, and `size` properties with its own values and
|
|
10
|
-
*
|
|
8
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
9
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
10
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
11
|
+
* implements unless it overrides `render()`.
|
|
11
12
|
*
|
|
12
13
|
* **Key capabilities**
|
|
13
14
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -5,9 +5,10 @@ import { LitElement } from 'lit';
|
|
|
5
5
|
*
|
|
6
6
|
* It declares the `onDark` property and provides helpers that apply the
|
|
7
7
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
8
|
-
* to the subclass's `.wrapper` element.
|
|
9
|
-
* `shape`, and `size` properties with its own values and
|
|
10
|
-
*
|
|
8
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
9
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
10
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
11
|
+
* implements unless it overrides `render()`.
|
|
11
12
|
*
|
|
12
13
|
* **Key capabilities**
|
|
13
14
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -40,7 +40,7 @@ A list of options that people choose from, used as the options list inside `auro
|
|
|
40
40
|
| onDark | ondark | | boolean | | ui | Tells a subclass that the component sits on a dark background, so the subclass can switch colors. The base class doesn't change any styles itself, and `auro-menu` and `auro-menuoption` don't currently use it. |
|
|
41
41
|
| shape | shape | | `box` \| `pill` \| `snowflake` | `box` | ui | Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it. |
|
|
42
42
|
| size | size | | `xs` \| `sm` \| `md` \| `lg` \| `xl` | `sm` | ui | Sets the text size and spacing of every option in the menu, from `xs` (smallest) to `xl` (largest). An option's own `size` overrides it. |
|
|
43
|
-
| hasLoadingPlaceholder | | readonly | boolean
|
|
43
|
+
| hasLoadingPlaceholder | | readonly | boolean \| null | | | Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count. |
|
|
44
44
|
|
|
45
45
|
### Methods
|
|
46
46
|
|
|
@@ -35,9 +35,10 @@ var tokensCss = i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
|
|
|
35
35
|
*
|
|
36
36
|
* It declares the `onDark` property and provides helpers that apply the
|
|
37
37
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
38
|
-
* to the subclass's `.wrapper` element.
|
|
39
|
-
* `shape`, and `size` properties with its own values and
|
|
40
|
-
*
|
|
38
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
39
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
40
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
41
|
+
* implements unless it overrides `render()`.
|
|
41
42
|
*
|
|
42
43
|
* **Key capabilities**
|
|
43
44
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -1847,8 +1848,8 @@ class AuroMenu extends AuroElement {
|
|
|
1847
1848
|
}
|
|
1848
1849
|
|
|
1849
1850
|
/**
|
|
1850
|
-
* Checks whether the menu has
|
|
1851
|
-
* @returns {boolean} True if
|
|
1851
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
1852
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
1852
1853
|
*/
|
|
1853
1854
|
get hasLoadingPlaceholder() {
|
|
1854
1855
|
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
@@ -118,6 +118,11 @@ export class AuroMenu extends AuroElement {
|
|
|
118
118
|
reflect: boolean;
|
|
119
119
|
attribute: string;
|
|
120
120
|
};
|
|
121
|
+
onDark: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
attribute: string;
|
|
124
|
+
reflect: boolean;
|
|
125
|
+
};
|
|
121
126
|
};
|
|
122
127
|
static get styles(): import("lit").CSSResult[];
|
|
123
128
|
/**
|
|
@@ -345,10 +350,10 @@ export class AuroMenu extends AuroElement {
|
|
|
345
350
|
*/
|
|
346
351
|
private isOptionSelected;
|
|
347
352
|
/**
|
|
348
|
-
* Checks whether the menu has
|
|
349
|
-
* @returns {boolean} True if
|
|
353
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
354
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
350
355
|
*/
|
|
351
|
-
get hasLoadingPlaceholder(): boolean;
|
|
356
|
+
get hasLoadingPlaceholder(): boolean | null;
|
|
352
357
|
/**
|
|
353
358
|
* Gets the wrapper element's classes, based on `size`.
|
|
354
359
|
* @returns {Object} The class map for the wrapper element.
|
|
@@ -14,9 +14,10 @@ var tokensCss = css`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
|
|
|
14
14
|
*
|
|
15
15
|
* It declares the `onDark` property and provides helpers that apply the
|
|
16
16
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
17
|
-
* to the subclass's `.wrapper` element.
|
|
18
|
-
* `shape`, and `size` properties with its own values and
|
|
19
|
-
*
|
|
17
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
18
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
19
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
20
|
+
* implements unless it overrides `render()`.
|
|
20
21
|
*
|
|
21
22
|
* **Key capabilities**
|
|
22
23
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -1852,8 +1853,8 @@ class AuroMenu extends AuroElement {
|
|
|
1852
1853
|
}
|
|
1853
1854
|
|
|
1854
1855
|
/**
|
|
1855
|
-
* Checks whether the menu has
|
|
1856
|
-
* @returns {boolean} True if
|
|
1856
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
1857
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
1857
1858
|
*/
|
|
1858
1859
|
get hasLoadingPlaceholder() {
|
|
1859
1860
|
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
@@ -14,9 +14,10 @@ var tokensCss = css`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
|
|
|
14
14
|
*
|
|
15
15
|
* It declares the `onDark` property and provides helpers that apply the
|
|
16
16
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
17
|
-
* to the subclass's `.wrapper` element.
|
|
18
|
-
* `shape`, and `size` properties with its own values and
|
|
19
|
-
*
|
|
17
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
18
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
19
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
20
|
+
* implements unless it overrides `render()`.
|
|
20
21
|
*
|
|
21
22
|
* **Key capabilities**
|
|
22
23
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -1813,8 +1814,8 @@ class AuroMenu extends AuroElement {
|
|
|
1813
1814
|
}
|
|
1814
1815
|
|
|
1815
1816
|
/**
|
|
1816
|
-
* Checks whether the menu has
|
|
1817
|
-
* @returns {boolean} True if
|
|
1817
|
+
* Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
|
|
1818
|
+
* @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
|
|
1818
1819
|
*/
|
|
1819
1820
|
get hasLoadingPlaceholder() {
|
|
1820
1821
|
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
@@ -23,7 +23,7 @@ A radio button that lets people choose one option from a set, used inside an `au
|
|
|
23
23
|
|
|
24
24
|
| Properties | Attributes | Modifiers | Type | Default | Category | Required | Description |
|
|
25
25
|
| ---------- | ---------- | --------- | ---------------------- | --------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
|
-
| appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>Inside an `auro-radio-group`, the group's `appearance` replaces this value.
|
|
26
|
+
| appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes. |
|
|
27
27
|
| disabled | disabled | | boolean | | ui | | Turns the radio button off, so it can't be selected.<br>A disabled radio button is shown in a muted style, and arrow keys skip it. |
|
|
28
28
|
| label | label | | string | | ui | | Sets the label text for the radio button, such as "Window seat".<br>Content in the default slot replaces it. |
|
|
29
29
|
| onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the radio button in colors made for dark backgrounds. |
|
|
@@ -89,21 +89,21 @@ A group of radio buttons with a shared label that lets people choose exactly one
|
|
|
89
89
|
|
|
90
90
|
### Properties and attributes
|
|
91
91
|
|
|
92
|
-
| Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description
|
|
93
|
-
| ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | ------------- |
|
|
94
|
-
| appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>The group passes this value to
|
|
95
|
-
| disabled | disabled | | boolean | | ui | | Turns off every radio button in the group.<br>Removing `disabled` later turns every radio button back on, including ones you disabled individually.
|
|
96
|
-
| horizontal | horizontal | | boolean | | ui | | Places the radio buttons side by side on one line.<br>Works for up to three radio buttons; groups with four or more stay stacked vertically.
|
|
97
|
-
| onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its radio buttons in colors made for dark backgrounds.
|
|
98
|
-
| error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select an option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message.
|
|
99
|
-
| noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or the selection changes.<br>To validate the group yourself, call `validate()
|
|
100
|
-
| optionSelected | | | HTMLElement | | behavior | | Gets the selected `auro-radio` element, or `undefined` when nothing is selected.
|
|
101
|
-
| required | required | | boolean | | behavior | | Requires a selection in the group and hides the "(optional)" text after the legend.<br>Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected.
|
|
102
|
-
| setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose an option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages.
|
|
103
|
-
| setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.<br>`setCustomValidity` takes priority when both are set.
|
|
104
|
-
| setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".<br>The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set.
|
|
105
|
-
| validity | validity | readonly | string | | behavior | | Gets the group's current validation state: `valid`, `valueMissing`, or `customError`.<br>It's `undefined` until the group is first validated.
|
|
106
|
-
| value | value | | string | | behavior | | Gets the `value` of the selected radio button, such as `window`.<br>Setting it doesn't select a radio button; set `checked` on the radio button instead.
|
|
92
|
+
| Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
|
|
93
|
+
| ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
94
|
+
| appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes. |
|
|
95
|
+
| disabled | disabled | | boolean | | ui | | Turns off every radio button in the group.<br>Removing `disabled` later turns every radio button back on, including ones you disabled individually. |
|
|
96
|
+
| horizontal | horizontal | | boolean | | ui | | Places the radio buttons side by side on one line.<br>Works for up to three radio buttons; groups with four or more stay stacked vertically. |
|
|
97
|
+
| onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its radio buttons in colors made for dark backgrounds. |
|
|
98
|
+
| error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select an option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message. |
|
|
99
|
+
| noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or the selection changes.<br>To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies. |
|
|
100
|
+
| optionSelected | | | HTMLElement | | behavior | | Gets the selected `auro-radio` element, or `undefined` when nothing is selected. |
|
|
101
|
+
| required | required | | boolean | | behavior | | Requires a selection in the group and hides the "(optional)" text after the legend.<br>Unless `noValidate` is set, the group shows an error when focus leaves it with nothing selected. |
|
|
102
|
+
| setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose an option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages. |
|
|
103
|
+
| setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.<br>`setCustomValidity` takes priority when both are set. |
|
|
104
|
+
| setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".<br>The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set. |
|
|
105
|
+
| validity | validity | readonly | string | | behavior | | Gets the group's current validation state: `valid`, `valueMissing`, or `customError`.<br>It's `undefined` until the group is first validated. |
|
|
106
|
+
| value | value | | string | | behavior | | Gets the `value` of the selected radio button, such as `window`.<br>Setting it doesn't select a radio button; set `checked` on the radio button instead. |
|
|
107
107
|
|
|
108
108
|
### Methods
|
|
109
109
|
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
350
350
|
</auro-accordion>
|
|
351
351
|
<auro-header level="3" id="noValidate">No validation</auro-header>
|
|
352
|
-
<p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or the selection changes. To validate the group yourself, call
|
|
352
|
+
<p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or the selection changes. To validate the group yourself, call <code>validate(true)</code>, which checks right away, even before anyone has interacted with the group.</p>
|
|
353
353
|
<div class="exampleWrapper">
|
|
354
354
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
|
|
355
355
|
<!-- The below content is automatically added from ./../apiExamples/no-validate.html -->
|