You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not something we currently support. I wondered if we'd exposed enough of the HTML options to do it, but apparently not. content_tag accepts a hash of options, so you could do similar things too. It'd be nice to be able to do this on all fields, I'd think, if you or someone was able to open a PR to do so.
You could do something like this, but it'd mean overriding the partials in your project:
By using
Field::Url
we can display URLs as links. In some cases, it would be convenient to open links in new browser tabs.Though the implementation would be straightforward, we may want to add
rel="noopener"
orrel="noreferrer
.https://docs.rubocop.org/rubocop-rails/cops_rails.html#railslinktoblank
No.
The text was updated successfully, but these errors were encountered: