@asantemedia-org/edwardsvacuum-design-system 1.6.26 → 1.6.27
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/dist/index.esm.js
CHANGED
|
@@ -820,8 +820,10 @@ var QrFormField = function (props) {
|
|
|
820
820
|
}, "*")), /*#__PURE__*/React.createElement(FormFieldRenderer, _extends({
|
|
821
821
|
key: props.name,
|
|
822
822
|
type: props.type,
|
|
823
|
-
value: supportsValue ? props.value : undefined
|
|
824
|
-
|
|
823
|
+
value: supportsValue ? props.value : undefined
|
|
824
|
+
}, props.type === "checkbox" ? {
|
|
825
|
+
checked: props.checked
|
|
826
|
+
} : {}, {
|
|
825
827
|
name: props.name,
|
|
826
828
|
isDisabled: props.isDisabled
|
|
827
829
|
}, props.type === "text" || props.type === "email" || props.type === "tel" || props.type === "textarea" || props.type === "number" ? {
|
|
@@ -1002,7 +1004,7 @@ var QrForm = function (props) {
|
|
|
1002
1004
|
placeholder: "Title"
|
|
1003
1005
|
}, {
|
|
1004
1006
|
type: "text",
|
|
1005
|
-
name: "
|
|
1007
|
+
name: "lastname",
|
|
1006
1008
|
label: "Last Name",
|
|
1007
1009
|
placeholder: "Last Name"
|
|
1008
1010
|
}, {
|
|
@@ -1042,7 +1044,7 @@ var QrForm = function (props) {
|
|
|
1042
1044
|
required: false
|
|
1043
1045
|
}, {
|
|
1044
1046
|
type: "text",
|
|
1045
|
-
name: "
|
|
1047
|
+
name: "zip",
|
|
1046
1048
|
label: "Postcode / ZIP",
|
|
1047
1049
|
placeholder: "Postcode / ZIP",
|
|
1048
1050
|
required: false
|
|
@@ -1142,9 +1144,9 @@ var QrForm = function (props) {
|
|
|
1142
1144
|
key: field.name,
|
|
1143
1145
|
label: field.label,
|
|
1144
1146
|
value: formValues[field.name],
|
|
1145
|
-
onChange:
|
|
1147
|
+
onChange: function (e) {
|
|
1146
1148
|
return handleChange(field.name, e.target.value);
|
|
1147
|
-
}
|
|
1149
|
+
},
|
|
1148
1150
|
isDisabled: field.isDisabled,
|
|
1149
1151
|
errorMessage: field.errorMessage,
|
|
1150
1152
|
hasError: errors[field.name] || false,
|