Skip to content

Commit

Permalink
Add inert boolean attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tatut committed Mar 18, 2024
1 parent c250e1f commit 97a36fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/ripley/html.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 97a36fd

Please # to comment.