Skip to content

Commit f8d9dbf

Browse files
added missing commandfor attribute to button macro
1 parent 7b1ef12 commit f8d9dbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/HTMLKit/HTMLKit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public macro button<T: ExpressibleByStringLiteral>(
179179
attributes: [HTMLElementAttribute] = [],
180180

181181
command: HTMLElementAttribute.Extra.command? = nil,
182+
commandfor: T? = nil,
182183
disabled: Bool = false,
183184
form: T? = nil,
184185
formaction: T? = nil,

0 commit comments

Comments
 (0)