luci-app-package-manager: fix 'autoremove' checkbox uneditable
authorLiangbin Lian <[email protected]>
Thu, 26 Jun 2025 09:09:01 +0000 (17:09 +0800)
committerPaul Donald <[email protected]>
Tue, 7 Oct 2025 16:12:53 +0000 (18:12 +0200)
commit8ce7b1eebe749ea5aca2e3e29a3b63ea254317fc
tree03bf93a2f02d7c22a93fb3849b863662407695ac
parent257ca434b8bec900a65d9fd17f1f4c3ee9253469
luci-app-package-manager: fix 'autoremove' checkbox uneditable

In HTML, the following lines of code are equivalent:
```
<input disabled />
<input disabled="true" />
<input disabled="false" />
<input disabled="any" />
```
If you want to cancel the 'disabled' flag, you must completely remove it from the HTML instead of assigning a value.

Signed-off-by: Liangbin Lian <[email protected]>
(cherry picked from commit 8b5dfabdf3b4f929ea5e4bbd9350e930c10e8ad3)
applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js