validationSupport.registerValidator(passwordConfirm,(Controlc,StringnewValue)->ValidationResult.fromErrorIf(c,"Password confirmation does not match",!passwordConfirm.getText().equals(password.getText())));
validationSupport.registerValidator(passwordConfirm,(Controlc,StringnewValue)->ValidationResult.fromErrorIf(c,"Password confirmation does not match",!passwordConfirm.getText().equals(password.getText())));
Validator.createEmptyValidator("Label is required"),
(Controlc,StringnewValue)->ValidationResult.fromErrorIf(c,"Label is not unique",walletForm.getWallet().getKeystores().stream().filter(k->k!=keystore).map(Keystore::getLabel).collect(Collectors.toList()).contains(newValue)),
@ -240,8 +242,6 @@ public class KeystoreController extends WalletFormController implements Initiali
Validator.createEmptyValidator("Master fingerprint is required"),
(Controlc,StringnewValue)->ValidationResult.fromErrorIf(c,"Master fingerprint is invalid",(newValue==null||newValue.length()!=8||!Utils.isHex(newValue)))