mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
Pascal Precht
de776e4567
feat(StatusValidator): allow validators to provide default
errorMessage
Validators can now define a default `errorMessage` like so: ```qml StatusValidator { ... errorMessage: "..." } ``` Because there's no access to runtime validation errors, `errorMessage` have to be static. However, if applications wish to provide their own `errorMessage` they can still override it and make it dynamic: ```qml SomeValidator { ... errorMessage: input.errors.someValidator ? "Whoopsie" : "" } ```
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
37.6%
JavaScript
30.4%
Nim
19%
Python
5.8%
C++
5.4%
Other
1.7%