Closed evanwinter closed 6 years ago
According to the W3C specification of the DOM, tagName
“must be mapped to the canonical uppercase form by the DOM implementation”. In other words, tagName
as provided by the browser is always in uppercase.
I can’t reproduce the issue in wagtail-react-streamfield. Using the latest master state, ChoiceBlock
works great in all scenarii I can think of: default value, non-string values, block creation, save, duplication… Could you open an issue in wagtail-react-streamfield with a minimal example for me to reproduce, please? :slightly_smiling_face:
fix case for input tagname comparison?
i've been running into an issue where wagtail ChoiceBlocks (rendered as