An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix submit action
ayntk-aif857bbc43717
diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.phpindex 060e627c6f..49ce0212ec 100644--- a/resources/views/components/modal-confirmation.blade.php+++ b/resources/views/components/modal-confirmation.blade.php@@ -59,7 +59,15 @@return;}}- $wire.call(this.submitAction, this.password, this.selectedActions)++ const methodName = this.submitAction.split('(')[0];+ const paramsMatch = this.submitAction.match(/\((.*?)\)/);+ const params = paramsMatch ? paramsMatch[1].split(',').map(param => param.trim()) : [];++ params.push(this.password);+ params.push(this.selectedActions);++ $wire[methodName](...params).then(result => {if (result === true) {this.modalOpen = false;