meteko/lowercase-pathsegment

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2018-02-22 16:15 UTC

This package is auto-updated.

Last update: 2024-04-29 04:02:54 UTC


README

Installation

composer require meteko/lowercase-pathsegment

What does it do

Via the signal/slot nodePropertychanged this package make sure the pathSegment (used for routing) is always lowercase.

Possible client side validation

It's also possible to make a client side validation "version" of this.

By changing the regular expression validation for Neos.Neos:Document to regularExpression: '/^[a-z0-9\-]+$' (removing the /i) you make it case-sensible.

This will make it impossible so Apply until there is no uppercase characters in the field (and therefore, passing the validation)

Support

Free support in the Neos Slack channel and bug/features via the Issues and Merge request feature ohere on Github!

A great thanks goes to

Thanks to danish scout organization Frivilligt Drenge- Og Pige-Forbund, FDF for sponsoring this work and releasing it, for you to use free of charge!