Pyro does not accept non-Latin characters as slug
Created 6 years ago by pooria

Hi

When I try to enter the slug, It is automatically removed because it's characters are not Latin. Is there a workaround for this?

ryanthompson  —  6 years ago Best Answer

Ya.. idk that's kinda outside my use-case scope / knowledge. I would try and just use a Text field type with maybe a custom JS slugifier.

ryanthompson  —  6 years ago

What are you using it for? Slug is a-zA-Z0-9 only I believe because. URL safe basically. If you need latin characters and own the stream - maybe don't use slug field type?

frednwt  —  6 years ago

Well in the same time UTF-8 URL are compatible with almost any browser now a day ^^

pooria  —  6 years ago

@ryanthompson I mean Persian and Arabic characters (ا ب پ ت ث ج چ ح خ ...)

ryanthompson  —  6 years ago Best Answer

Ya.. idk that's kinda outside my use-case scope / knowledge. I would try and just use a Text field type with maybe a custom JS slugifier.