fix(StatusPasswordStrengthIndicator): Added new `onValueChanged` condition

Added new `onValueChanged` condition if bar value is 0 --> Strength.None.
This commit is contained in:
Noelia 2022-03-22 10:17:54 +01:00 committed by Michał Cieślak
parent 36a109421c
commit ffb7289b9f
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ StatusProgressBar {
Great // 5
}
onValueChanged: if(value === 0) control.strength = StatusPasswordStrengthIndicator.Strength.None
// Behavior:
states: [
// Strength states definition: