-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow issue templates to not render title #22589
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -640,6 +640,7 @@ body: | |
description: Description of input | ||
placeholder: Placeholder of input | ||
value: Value of input | ||
hide_label: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just as a question: Wouldn't omitting the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, but in this situation you want to display the label on the form just not the output. |
||
validations: | ||
required: true | ||
is_number: true | ||
|
@@ -681,8 +682,6 @@ body: | |
|
||
` + "```bash\nValue of id2\n```" + ` | ||
|
||
### Label of input | ||
|
||
Value of id3 | ||
|
||
### Label of dropdown | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm not quite sure if we should use snake case.
Also, shouldn't it be
hide_title
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking the same with the name of the attr, but I went with hide_label to keep the name consistent throughout.
As for snakecase, the yaml marshal will make the map like this, and is consistent with other yaml parsing.