Skip to content

Commit

Permalink
rx-html (feature): Support datalist tag (#3075)
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Jul 27, 2023
1 parent 8b44009 commit a4d4fa6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ trait Tags {
lazy val cite: HtmlElement = tag("cite")
// Defines a piece of computer code
lazy val code: HtmlElement = tag("code")
lazy val dd: HtmlElement = tag("dd")
// Contains a set of <option> elements that represent the permissible or
// recommended options available to choose from within other controls.
lazy val datalist: HtmlElement = tag("datalist")
lazy val dd: HtmlElement = tag("dd")
// Defines text that has been deleted from a document
lazy val del: HtmlElement = tag("del")
// Defines additional details that the user can view or hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,12 @@ class HtmlTest extends AirSpec {
)
)
}

test("datalist") {
datalist(
id -> "fruit",
option(value -> "apple"),
option(value -> "banana")
)
}
}

0 comments on commit a4d4fa6

Please sign in to comment.