|
|
|
@ -10,7 +10,7 @@ TextField { |
|
|
|
|
|
|
|
|
|
|
|
font.family: FixedFont |
|
|
|
font.family: FixedFont |
|
|
|
placeholderText: qsTr('Amount') |
|
|
|
placeholderText: qsTr('Amount') |
|
|
|
inputMethodHints: Qt.ImhPreferNumbers |
|
|
|
inputMethodHints: Qt.ImhDigitsOnly |
|
|
|
property Amount textAsSats |
|
|
|
property Amount textAsSats |
|
|
|
onTextChanged: { |
|
|
|
onTextChanged: { |
|
|
|
textAsSats = Config.unitsToSats(amount.text) |
|
|
|
textAsSats = Config.unitsToSats(amount.text) |
|
|
|
|