Closed hasan-sh closed 4 months ago
@hasan-sh the console error is gone, thats good! But do we want it to throw an error if there is no level selected in an adventure? Is it not fine if there is no level selected?
And the error message is: "This Hedy level is invalid." But thats not really the case because there is no level selected so how can it be invalid, "there is no level selected" should be the error message I guess?
Correct me if I'm wrong or you don't agree!
@hasan-sh the console error is gone, thats good! But do we want it to throw an error if there is no level selected in an adventure? Is it not fine if there is no level selected?
And the error message is: "This Hedy level is invalid." But thats not really the case because there is no level selected so how can it be invalid, "there is no level selected" should be the error message I guess?
Correct me if I'm wrong or you don't agree!
Correct. This should be defintely handled in the front-end as well and this was the case when we used the tailwind-elements
and should be present in the custom-hedy select.
Correct. This should be defintely handled in the front-end as well and this was the case when we used the
tailwind-elements
and should be present in the custom-hedy select.
@hasan-sh ok, so this PR is ready for now and its handled in #5540?
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).
fixing:
https://github.com/hedyorg/hedy/assets/20051470/fb007c32-43fc-4fc6-a04f-c8e5e2be5214
How to test?