luci-app-acme: Fix incorrect "Days until renewal" placeholder
authorAditya Bhargava <[email protected]>
Mon, 22 Sep 2025 07:28:41 +0000 (03:28 -0400)
committerPaul Donald <[email protected]>
Sun, 28 Sep 2025 13:11:49 +0000 (15:11 +0200)
If no value is provided for "Days until renewal", the `acme.sh` default
is used. The placeholder should reflect this, and indicate what the
current default is.

Signed-off-by: Aditya Bhargava <[email protected]>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js

index 3d1e1a19481f8c217a8bcd72da3598a846859f93..30547615463700db37891b74c666a8897dab4237 100644 (file)
@@ -216,7 +216,7 @@ return view.extend({
 
                o = s.taboption('advanced', form.Value, 'days', _('Days until renewal'));
                o.optional    = true;
-               o.placeholder = 90;
+               o.placeholder = 'acme.sh default (60 days)';
                o.datatype    = 'uinteger';
                o.modalonly = true;