Pyro does not accept non-Latin characters as slug
Created 5 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  —  5 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  —  5 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  —  5 years ago

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

pooria  —  5 years ago

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

ryanthompson  —  5 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.