getkirby / ideas

This is the backlog of ideas and feature requests from the last two years. Use our new feedback platform to post your new ideas or vote on existing ideas.
https://feedback.getkirby.com
20 stars 0 forks source link

Tags field: `lowercase` converter #455

Open LeBenLeBen opened 4 years ago

LeBenLeBen commented 4 years ago

Just like Kirby 2 had it, it would be great if the tags field would have a "lowercase" option that would ensure all values are stored lowercase, both when coming from a predefined list of options or added as new values.

This would help a lot in preventing duplicates when casing doesn't matter.

Relateds:

distantnative commented 4 years ago

We have this in the text field, should not be too hard to add it for the tags field as well (if it's of general interest): https://github.com/getkirby/kirby/blob/21ebebda6bdde9aee62140f81f658f0852ea4e60/config/fields/text.php#L81-L94