bencarr / statamic-hyperlink

Hyperlink is a Statamic addon that expands the default Link fieldtype and allows you to store link text and target options alongside the link destination.
https://statamic.com/addons/bencarr/hyperlink
3 stars 1 forks source link

Derive label from link if the label is empty #17

Closed aaronbushnell closed 1 month ago

aaronbushnell commented 1 month ago

The label is now an optional field and will derive a value from the link itself

Addresses #15

bencarr commented 1 month ago

Really appreciate the contribution, @aaronbushnell! I had a local branch started with nearly an identical approach. Great minds! Going to merge those together and get this out with the Statamic 5 update.

aaronbushnell commented 1 month ago

Heeeey nice, @bencarr! Hopefully it helps a bit and, if I can be of any help supporting your great addon, do let me know! 🤗