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

question info support #16

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pages/docs/core-concepts/questions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ Here's a reference of the various properties you can specify in a question defin

![Answers](/answers.png)

- `questionInfo`: A property that recieves a string containing additional information regarding the field. When hovered over, it displays a tooltip containing the information passed.

```json copy
{
"questionInfo": "sample tooltip info for text"
}
```

![Tooltip](/tooltip.png)

- `isHidden`: A boolean value that determines field visibility. In most cases, this value is driven by hide expressions.

- `hide`: You can use this to define logic for hiding a question based on certain conditions. To do so, you provide a JavaScript expression that evaluates to a boolean value:
Expand Down
Binary file added public/tooltip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading