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 r4bbit.eth
parent c6e4cf627c
commit 7301323ed7
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: