TextEntry with static url, how to set text of anchor tag?
I have an infolist that I'm trying to add a link to like so:
The
a
tag is in the dom, but there's no text, so it's not showing up as anything. I'm sure I'm missing something stupid, but it doesn't appear to be in the docs, and looking at the source code, I don't see a method to set the text. ->label()
isn't doing it.Solution:Jump to solution
If it’s not tied to a field on the record then it has no state. So you would need to provide that state via getStateUsing()
3 Replies
I tried doing this as an alternative:
and using that method, the
a
tag isn't even in the rendered dom.Solution
If it’s not tied to a field on the record then it has no state. So you would need to provide that state via getStateUsing()
that did it, thank you..