Convert title to URI in data object


#1

Silverstripe Version: 41.

How do we recreate title to url functionality in a data object?

I’m looking here: https://docs.silverstripe.org/en/4/developer_guides/forms/field_types/common_subclasses/#formatted-input
and it doesn’t seem like theres a field type that would do url mapping.

Incase it’s unclear, I’d like a user to be able to type a title, as they do, a permalink version is displayed in an input beneath it. The user can edit it if they want after the fact.

If that’s (sadly) not an option, how do you handle this in your projects? before save hook in a model or?