@longline/aqua-ui 1.0.328 → 1.0.330
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.
|
@@ -64,10 +64,6 @@ interface IFieldProps {
|
|
|
64
64
|
* Triggered whenever an _uncontrolled_ Field changes.
|
|
65
65
|
*/
|
|
66
66
|
onChange?: (data: any, forceupdate: boolean) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Test ID for Playwright/testing. Forwarded to the root DOM element.
|
|
69
|
-
*/
|
|
70
|
-
'data-testid'?: string;
|
|
71
67
|
}
|
|
72
68
|
/**
|
|
73
69
|
* A `Form.Field` wraps a form control. It serves several purposes.
|
package/containers/Form/Field.js
CHANGED
|
@@ -130,7 +130,6 @@ var Field = function (props) {
|
|
|
130
130
|
var getControl = function (hasError, transparent) {
|
|
131
131
|
return React.cloneElement(props.control, {
|
|
132
132
|
name: props.name,
|
|
133
|
-
'data-testid': props['data-testid'],
|
|
134
133
|
onChange: handleChange,
|
|
135
134
|
value: props.value, // Changed from just "value", since that breaks TiptapEditor.
|
|
136
135
|
checked: props.value,
|