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
The govuk_tabs helper throws an exception if the title argument is omitted. The equivalent Nunjucks component govukTabs defaults the title to "Contents" and doesn’t even include it in the examples.
I’m happy for us to require arguments where it makes sense to (Nunjucks doesn't support required arguments at all with the way that arguments are passed in as a object) – but maybe here we could default to "Contents" too? Not sure how often you'd use another title?
The
govuk_tabs
helper throws an exception if thetitle
argument is omitted. The equivalent Nunjucks componentgovukTabs
defaults the title to "Contents" and doesn’t even include it in the examples.I’m happy for us to require arguments where it makes sense to (Nunjucks doesn't support required arguments at all with the way that arguments are passed in as a object) – but maybe here we could default to "Contents" too? Not sure how often you'd use another title?
See also #506
The text was updated successfully, but these errors were encountered: