swordev / suid

A port of Material-UI (MUI) built with SolidJS.
https://suid.io
MIT License
673 stars 48 forks source link

Bug in Textfield when presented in Safari 16.3 it'll show as ` *` #220

Closed Bersaelor closed 1 year ago

Bersaelor commented 1 year ago

When I use a

<TextField
   label="your email"
   required

in a form, on Safari 16.3 it'll show as  *:

Screenshot_2023-06-05_at_11 04 53_AM

While in latest Safari 16.5, it'll use a normal blank space:

Screenshot 2023-06-05 at 23 06 03

The page has a <meta charset="utf-8"> meta tag.

Bersaelor commented 1 year ago

So it turns out, this is an issue in old Safari + solid-start:

So I have to not forget to change the content-type header as part of every CI deployment to text/html; charset=utf-8