kartik-v/strength-meter

Invalid feedback not showing

joester89 opened this issue · 2 comments

When using the input with Bootstrap 4 the invalid feedback does not show up on error state.

$form = ActiveForm::begin([
    'layout' => ActiveForm::LAYOUT_HORIZONTAL,
    'method' => 'post',
]);

echo $form->field($model, 'password')->widget(PasswordInput::class);

ActiveForm::end();

The selector in Bootstrap 4 to show the invalid feedback is .was-validated :invalid ~ .invalid-feedback, .was-validated :invalid ~ .invalid-tooltip, .is-invalid ~ .invalid-feedback, .is-invalid ~ .invalid-tooltip, which does not match the layout of the Strenth input.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This has never been addressed