@axos-web-dev/shared-components 0.0.52 → 0.0.53
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.
|
@@ -57,7 +57,7 @@ const ApplicationStart = ({
|
|
|
57
57
|
}
|
|
58
58
|
return removeDashes;
|
|
59
59
|
}),
|
|
60
|
-
checkbox__c: z.boolean()
|
|
60
|
+
checkbox__c: z.boolean()
|
|
61
61
|
});
|
|
62
62
|
const methods = useForm({
|
|
63
63
|
resolver: zodResolver(schema.merge(SalesforceSchema), {
|
|
@@ -155,12 +155,8 @@ const ApplicationStart = ({
|
|
|
155
155
|
Checkbox,
|
|
156
156
|
{
|
|
157
157
|
id: "checkbox__c",
|
|
158
|
-
...register("checkbox__c",
|
|
159
|
-
required: true,
|
|
160
|
-
maxLength: 12
|
|
161
|
-
}),
|
|
158
|
+
...register("checkbox__c"),
|
|
162
159
|
sizes: "medium",
|
|
163
|
-
required: true,
|
|
164
160
|
error: !!errors.checkbox__c,
|
|
165
161
|
helperText: errors.checkbox__c?.message,
|
|
166
162
|
variant,
|