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

Widgets for the conditional fields #280

Merged

Conversation

ale-rt
Copy link
Member

@ale-rt ale-rt commented Sep 9, 2024

They prevent client side validation to kick in when the conditions that show the fields are not met.

Refs. https://github.com/syslabcom/scrum/issues/2615

@ale-rt
Copy link
Member Author

ale-rt commented Sep 9, 2024

Requires euphorie/Euphorie#761 for this to work

@ale-rt ale-rt changed the title Widgets for the conditinal fields Widgets for the conditional fields Sep 9, 2024
They prevent client side validation to kick in when the conditions that
show the fields are not met.

Refs. syslabcom/scrum#2615
@ale-rt ale-rt force-pushed the ale/quaive-app/widget-for-conditional-fields branch from 2332a31 to 8fc144d Compare September 9, 2024 15:35
Copy link
Contributor

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly working fine. I have merged the Euphorie PR.

I see one problem though. The error is shown twice for rich text fields. For example when editing a survey and enabling the custom notification:

Screenshot 2024-09-11 at 12 43 42

So the html/textarea widget seems to already show its error without needing the explicit showing of an error as this PR does. But for the simple text line widget, it is needed.

I approve the PR because this is an improvement, but I won't merge yet. You can decide if you merge and then open a new issue, or if you try to fix it first.

@ale-rt
Copy link
Member Author

ale-rt commented Sep 11, 2024

Sure, I will fix it :) Thanks a lot!

@mauritsvanrees
Copy link
Contributor

Thanks, that works.

@mauritsvanrees mauritsvanrees merged commit 2cbeb0c into quaive-app Sep 11, 2024
2 checks passed
@mauritsvanrees mauritsvanrees deleted the ale/quaive-app/widget-for-conditional-fields branch September 11, 2024 13:19
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

Successfully merging this pull request may close these issues.

2 participants