Skip to content
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

formGroup() help argument could support character vectors #159

Closed
nteetor opened this issue Aug 7, 2019 · 1 comment
Closed

formGroup() help argument could support character vectors #159

nteetor opened this issue Aug 7, 2019 · 1 comment

Comments

@nteetor
Copy link
Owner

nteetor commented Aug 7, 2019

Currently the formGroup() help argument supports a character string. Passing a character vector as the argument generates a warning and only the first value is used. Supporting a character vector seems like a reasonable extension. The vector is either collapsed into a single string and there is no special formatting or the strings could be separated with <br> to put each string on a separate line.

nteetor pushed a commit that referenced this issue Aug 30, 2019
* Use `I()` to put each string in a character vector on a new line
* `formGroup()` now coerce's its `label` and `help` text with
  `coerce_content()`, use `I(c(..))` to force multiline labels (#159)
@nteetor
Copy link
Owner Author

nteetor commented Dec 16, 2019

This is supported as of 0.1.2.

@nteetor nteetor closed this as completed Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant