From 97a36fd11a0c706b6b253ef6cf579376d69d20ff Mon Sep 17 00:00:00 2001 From: Tatu Tarvainen Date: Mon, 18 Mar 2024 18:12:06 +0200 Subject: [PATCH] Add inert boolean attribute --- README.md | 3 +++ src/ripley/html.clj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 127b224..2bd3c74 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,9 @@ Dev mode can be enabled with the system property argument `-Dripley.dev-mode=tru ## Changes +### 2024-03-18 +- Add `inert` boolean attribute + ### 2024-03-06 - Dev mode: replace component with an error display when an exception is thrown diff --git a/src/ripley/html.clj b/src/ripley/html.clj index 976416b..1217755 100644 --- a/src/ripley/html.clj +++ b/src/ripley/html.clj @@ -214,7 +214,7 @@ (def boolean-attribute? "Attributes that are rendered without value" - #{:checked :selected :disabled :readonly :multiple :defer}) + #{:checked :selected :disabled :readonly :multiple :defer :inert}) (defn- register-live-attr [component-live-id attr live static-value] (let [{:keys [source component did-update]} (live-source-and-component live)