From c2b72005d7201eacd51c5944f344bf1d27e33c02 Mon Sep 17 00:00:00 2001 From: Nirvanjha2004 Date: Fri, 16 Jan 2026 08:20:46 +0530 Subject: [PATCH] fixed the dropdown behaviour --- src/components/calibration/MiscConfigCard.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/calibration/MiscConfigCard.vue b/src/components/calibration/MiscConfigCard.vue index 365f6ac6..f72f7110 100644 --- a/src/components/calibration/MiscConfigCard.vue +++ b/src/components/calibration/MiscConfigCard.vue @@ -21,7 +21,7 @@
Model Selection: - +
Note: The selected model will be used for the calibration process. The default model is Linear Regression. Some models may take longer to train than others. So please be patient. @@ -38,7 +38,8 @@ export default { backgroundColor: '#FFFFFFFF', pointColor: '#000000FF', customColors: false, - models: ['Linear Regression', 'Ridge Regression', 'Lasso Regression', 'Elastic Net', 'Bayesian Ridge', 'SGD Regressor', 'Support Vector Regressor'] + selectedModel: 'Linear Regression', + modelOptions: ['Linear Regression', 'Ridge Regression', 'Lasso Regression', 'Elastic Net', 'Bayesian Ridge', 'SGD Regressor', 'Support Vector Regressor'] } }, watch: { @@ -51,7 +52,7 @@ export default { customColors(value) { this.updateCustomColors(value) }, - models(value){ + selectedModel(value){ this.updateModels(value) } },