@axos-web-dev/shared-components 1.0.77-ext-bal-apy-calc.2 → 1.0.77-ext-bal-apy-calc.3
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.
|
@@ -223,7 +223,10 @@ const MortgageRate = ({
|
|
|
223
223
|
resolver: zodResolver(schema.merge(SalesforceSchema), {
|
|
224
224
|
async: true
|
|
225
225
|
}),
|
|
226
|
-
mode: "all"
|
|
226
|
+
mode: "all",
|
|
227
|
+
defaultValues: {
|
|
228
|
+
loanPurpose: 1
|
|
229
|
+
}
|
|
227
230
|
});
|
|
228
231
|
useEffect(() => {
|
|
229
232
|
if (loanPurpose === 1) {
|
|
@@ -379,7 +382,6 @@ const MortgageRate = ({
|
|
|
379
382
|
error: !!errors.loanPurpose,
|
|
380
383
|
helperText: errors.loanPurpose?.message,
|
|
381
384
|
variant,
|
|
382
|
-
defaultValue: "Select Loan Type",
|
|
383
385
|
onChange: (e) => {
|
|
384
386
|
const selectedValue = Number(e.target.value);
|
|
385
387
|
setLoanPurpose(selectedValue);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axos-web-dev/shared-components",
|
|
3
3
|
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "1.0.77-ext-bal-apy-calc.
|
|
4
|
+
"version": "1.0.77-ext-bal-apy-calc.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|