From bb57b3cc0fffc2657b4ad09a07ae5e6989345875 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 15 Jun 2026 09:55:59 -0700 Subject: Use integer amount placeholder when unit is sats Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index e0babba..4f759bc 100644 --- a/src/app.js +++ b/src/app.js @@ -626,7 +626,7 @@ function sendForm() { 'div', { class: 'input-group' }, h('input', { - type: 'number', step: 'any', min: '0', placeholder: '0.00000000', + type: 'number', step: 'any', min: '0', placeholder: s.unit === 'sats' ? '0' : '0.00000000', disabled: s.max, value: s.max ? (s.unit === 'sats' ? String(estimatedMaxSats()) : fmtBtc(estimatedMaxSats())) -- cgit v1.2.3