Required Link Text only if there is a linkValue #192
samuel-clara
started this conversation in
General
Replies: 1 comment
-
Great point that there's not really a way at the moment. It's indeed arguable that a link block shouldn't be considered "live" unless it has a link value, therefore doesn't need to be validated. I'll play around with options. Related to #8 for better empty-state handling. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to make the linkText field required only if the linkValue is not empty?
A good alternative could be an empty link type, but there is currently no way to have a new link type without linkValue.
Beta Was this translation helpful? Give feedback.
All reactions