refactored checkout workflow with stripe
This commit is contained in:
@@ -50,7 +50,9 @@ function materio_user_form_user_modal_form_alter(&$form, FormStateInterface $for
|
||||
|
||||
$form['actions']['submit']['#attributes'] = array(
|
||||
"@click.prevent" => "register",
|
||||
"@keyup.enter" => "register"
|
||||
"@keyup.enter" => "register",
|
||||
"ref" => "register"
|
||||
// ":class" => "can_register"
|
||||
);
|
||||
|
||||
}
|
||||
@@ -59,7 +61,8 @@ function _materio_user_process_password_confirm($element){
|
||||
// ksm($element);
|
||||
$element['pass1']['#attributes'] += array(
|
||||
"v-model" => "pass1",
|
||||
"placeholder" => $element['pass1']['#title']
|
||||
"placeholder" => $element['pass1']['#title'],
|
||||
":class" => "psswd_class"
|
||||
);
|
||||
$element['pass2']['#attributes'] += array(
|
||||
"v-model" => "pass2",
|
||||
|
Reference in New Issue
Block a user