summit-registration-lite 5.0.9 → 5.0.10
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.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/.env +0 -3
package/dist/index.js
CHANGED
|
@@ -2281,12 +2281,13 @@ const PersonalInfoComponent = ({
|
|
|
2281
2281
|
}, /*#__PURE__*/external_react_default().createElement("input", personal_information_extends({
|
|
2282
2282
|
type: "text",
|
|
2283
2283
|
placeholder: "First name *",
|
|
2284
|
-
defaultValue: personalInfo.firstName || ''
|
|
2284
|
+
defaultValue: personalInfo.firstName || '',
|
|
2285
|
+
readOnly: initialLastName !== '',
|
|
2286
|
+
className: initialLastName !== '' ? personal_information_index_module.readOnly : ''
|
|
2285
2287
|
}, register("firstName", {
|
|
2286
2288
|
required: true,
|
|
2287
2289
|
maxLength: 80
|
|
2288
2290
|
}), {
|
|
2289
|
-
disabled: initialFirstName !== '',
|
|
2290
2291
|
"data-testid": "first-name"
|
|
2291
2292
|
}))), errors.firstName && /*#__PURE__*/external_react_default().createElement("div", {
|
|
2292
2293
|
className: personal_information_index_module.fieldError,
|
|
@@ -2298,12 +2299,13 @@ const PersonalInfoComponent = ({
|
|
|
2298
2299
|
}, /*#__PURE__*/external_react_default().createElement("input", personal_information_extends({
|
|
2299
2300
|
type: "text",
|
|
2300
2301
|
placeholder: "Last name *",
|
|
2301
|
-
defaultValue: personalInfo.lastName || ''
|
|
2302
|
+
defaultValue: personalInfo.lastName || '',
|
|
2303
|
+
readOnly: initialLastName !== '',
|
|
2304
|
+
className: initialLastName !== '' ? personal_information_index_module.readOnly : ''
|
|
2302
2305
|
}, register("lastName", {
|
|
2303
2306
|
required: true,
|
|
2304
2307
|
maxLength: 100
|
|
2305
2308
|
}), {
|
|
2306
|
-
disabled: initialLastName !== '',
|
|
2307
2309
|
"data-testid": "last-name"
|
|
2308
2310
|
}))), errors.lastName && /*#__PURE__*/external_react_default().createElement("div", {
|
|
2309
2311
|
className: personal_information_index_module.fieldError,
|