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

Suggestion: Help boxes #241

Open
JackSinkoRB opened this issue Oct 26, 2023 · 0 comments
Open

Suggestion: Help boxes #241

JackSinkoRB opened this issue Oct 26, 2023 · 0 comments

Comments

@JackSinkoRB
Copy link

JackSinkoRB commented Oct 26, 2023

Add a help box attribute that can be used like [HelpBox("some text")]

It would be good to have conditional parameters also, so it only shows the warning if the bool is disabled, value is null, 0 etc.

I previously made this which worked well, but it was very messy and I'm sure you could do a better job (plus MyBox has had a few updates since then).
https://pastebin.com/AGeCKy17

Edit: made a more simplified one, but it doesn't use the normal MyBox conditional logic
https://pastebin.com/HVhwe4cK

sddefault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant