Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generate slugs in element editor HUDs #4332

Open
robin-gauthier opened this issue May 29, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@robin-gauthier
Copy link

commented May 29, 2019

Description

Whe you create a new category item, the handle is auto-generate on keydown and all the special characters are replace. But if I am associating a category field to my section and create a a category from the modal form, this functionnality isn't there and most users just copy paste the value with the specials characters.

Steps to reproduce

  1. Create a new category
  2. Assign a category field to any section
  3. Click to select category in the entry
  4. Click create new category
  5. Type some content in the title field.
  6. The slug field stays empty.

Additional info

  • Craft version: 3.1.28
  • PHP version: 7.2.16
  • Database driver & version: MySQL 5.7.26

@brandonkelly brandonkelly changed the title Sanitize category slug Auto-generate slugs in element editor HUDs May 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.