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

[UDW]The "Discard" button in the "Create content" does not discard anything #1485

Open
wants to merge 1 commit into
base: 4.6
Choose a base branch
from

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-9643

Description:

Similar as in solution for twig one, we set values to initial ones on opening widget. Here it's simpler, as we don't need to worry about values provided from symfony like token, as UDW part doesn't have them.

For QA:

Documentation:

@GrabowskiM GrabowskiM requested a review from a team February 28, 2025 11:35
@GrabowskiM GrabowskiM changed the base branch from main to 4.6 February 28, 2025 11:37
return;
}

setSelectedLanguage(preselectedLanguage || firstLanguageCode);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
setSelectedLanguage(preselectedLanguage || firstLanguageCode);
setSelectedLanguage(preselectedLanguage ?? firstLanguageCode);

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.

5 participants