From 8e0c535d970171d1d921875cadfa2fde6f96dd03 Mon Sep 17 00:00:00 2001 From: Konstantin K Date: Sun, 6 Oct 2024 20:20:23 +0300 Subject: [PATCH] Implement "dialog" form method value (#34) See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#method --- src/DOM/HTML/Indexed/FormMethod.purs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DOM/HTML/Indexed/FormMethod.purs b/src/DOM/HTML/Indexed/FormMethod.purs index acf5db5..42f1d73 100644 --- a/src/DOM/HTML/Indexed/FormMethod.purs +++ b/src/DOM/HTML/Indexed/FormMethod.purs @@ -5,6 +5,7 @@ import Prelude data FormMethod = POST | GET + | Dialog derive instance eqFormMethod :: Eq FormMethod derive instance ordFormMethod :: Ord FormMethod @@ -13,3 +14,4 @@ renderFormMethod :: FormMethod -> String renderFormMethod = case _ of POST -> "post" GET -> "get" + Dialog -> "dialog"