mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 23:05:17 +00:00
20 lines
515 B
QML
20 lines
515 B
QML
import QtQml 2.15
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property string selectedWalletAddress: ""
|
|
property int selectedNetworkChainId: -1
|
|
property string selectedTokenKey: ""
|
|
property string selectedProviderId: ""
|
|
|
|
readonly property bool filledCorrectly: !!selectedWalletAddress && !!selectedTokenKey && selectedNetworkChainId !== -1
|
|
|
|
function resetFormData() {
|
|
selectedWalletAddress = ""
|
|
selectedNetworkChainId = -1
|
|
selectedTokenKey = ""
|
|
selectedProviderId = ""
|
|
}
|
|
}
|