Invisible "_" in inputs on windows

Forum rules
Please note that response time for technical support is within 3-5 business days.
newk
Posts: 4
Joined: 19 Nov 2018, 14:13

04 Jan 2023, 14:23

The _ character is invisible when typed on a windows machine in p:inputText. This causes issues in many cases. For example if I have an input with an email like: "john_83@gmail.com", the users see: "john 83@gmail.com" and they think there is a space there, but infact it's a "_" but the theme does not show that "_".

Just go to https://www.primefaces.org/prestige/dashboard.xhtml on a windows machine and type a "_" in any p:inputText. And you'll see it wont be visible.

Can this be fixed? This causing alot of confusion for our users.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

05 Jan 2023, 12:42

Do you mean the search input at topbar or all inputs? Also which theme are you using?

singlecode
Posts: 4
Joined: 14 Sep 2016, 18:22

05 Jan 2023, 13:01

cagatay.civici wrote:
05 Jan 2023, 12:42
Do you mean the search input at topbar or all inputs? Also which theme are you using?
I mean all p:inputText, I'm using Prestige latest version and PF12.

Just go to https://www.primefaces.org/prestige/formlayout.xhtml and type a "_" on any p:inputText. Make sure you do this on a windows machine.

newk
Posts: 4
Joined: 19 Nov 2018, 14:13

05 Jan 2023, 13:04

Sorry I posted this on my personal account, I meant to post it on the account we bought the theme from. I replied with that account. I think you maybe have to approve the reply since it's not visible here yet. But yes I mean on all p:inputText, try it on windows machine (prestige theme)

singlecode
Posts: 4
Joined: 14 Sep 2016, 18:22

05 Jan 2023, 19:52

Some additional information I just noticed now. Happens only on webkit browsers (chrome, edge, etc...) but always on windows.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Jan 2023, 16:38

We'll test it on monday on a windows machine at the office and get back to you.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Mar 2023, 13:02

We could not replicate but my colleague will try on a different pc today and get back to you.

olgubasak
Posts: 98
Joined: 05 Jan 2023, 11:05

06 Mar 2023, 09:30

Hi,

I checked from another Windows PC and I didn't encounter any errors either.

singlecode
Posts: 4
Joined: 14 Sep 2016, 18:22

06 Mar 2023, 10:29

That is very strange. Did you test on windows and specifically on chrome/edge? It only happens with the underscore "_". Here's a video of it where I went to https://www.primefaces.org/prestige/formlayout.xhtml and I copy-pasted some text with an "_" from the search input up top, to a form input:

https://streamable.com/kdwpon

You can see there's a blank there on the input. The "_" is there but it cannot be seen.

olgubasak
Posts: 98
Joined: 05 Jan 2023, 11:05

06 Mar 2023, 17:15

Hi,

I checked again. I didn't know that Sarabun had such an error with a Windows PC. I talked to the design team and they recommended using the font Cabin.
If you make changes using Cabin in the paths I mentioned below, your problem will be resolved.

path1:src/main/webapp/resource/sass/_font.scss
path2:src/main/webapp/resources/prestige-layout/fonts

Google-fonts for Cabin:https://fonts.google.com/specimen/Cabin?query=cabin+


If you encounter any problem do not hesitate to contact us.

Post Reply

Return to “Prestige - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest