We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function cancelBookingConfirmation($id) { $this->confirm( 'Please enter the reason for cancellation', [ 'showConfirmButton' => true, 'confirmButtonText' => 'Submit', 'position' => 'center', 'onConfirmed' => 'bookingCanceled', 'input' => 'text', 'inputValidator' => '(value) => new Promise((resolve) => {' . ' if (value) {' . ' resolve();' . ' } else {' . ' resolve("Please enter a reason for cancellation");' . ' }' . '})', 'inputAttributes' => [ 'placeholder' => 'Enter your reason here...', 'id' => $id, ] ]); }
The input value is not passed to the confirmation method. How can i handle this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
public function cancelBookingConfirmation($id) { $this->confirm( 'Please enter the reason for cancellation', [ 'showConfirmButton' => true, 'confirmButtonText' => 'Submit', 'position' => 'center', 'onConfirmed' => 'bookingCanceled', 'input' => 'text', 'inputValidator' => '(value) => new Promise((resolve) => {' . ' if (value) {' . ' resolve();' . ' } else {' . ' resolve("Please enter a reason for cancellation");' . ' }' . '})', 'inputAttributes' => [ 'placeholder' => 'Enter your reason here...', 'id' => $id, ] ]); }
The input value is not passed to the confirmation method. How can i handle this?
The text was updated successfully, but these errors were encountered: