From 9ba2221a19fc2de15894bf8b511d6674cfc0d653 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 14 Feb 2025 19:56:06 +0100 Subject: [PATCH] clarified code example: removed unnecessary button type (#38157) The code example was misleading (Exhibit A: I was misled by it). How so: - The button type attribute is known to carry behavior w.r.t. its ancestor element (button.type=submit will submit a
etc. ; see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type ) - The documentation page is all about closing a and raising the cancel event. - The presence of a +