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

IBX-1742: Dropdown not working in Shipping Management - dynamic dropdowns #122

Merged
merged 5 commits into from
Dec 20, 2021

Conversation

tischsoic
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-1742
Bug fix? yes/no
New feature? yes/no
BC breaks? yes/no
Tests pass? yes
Doc needed? yes/no
License GPL-2.0

@tischsoic tischsoic added Bug Something isn't working Improvement labels Dec 20, 2021
@tischsoic tischsoic self-assigned this Dec 20, 2021
@@ -68,7 +71,7 @@

{% include '@ibexadesign/ui/component/dropdown/dropdown_selected_item.html.twig' with {
value: first_choice.value,
label: _self.get_translated_label(first_choice.label),
label: _self.get_translated_label(first_choice.label, false),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was no translation_domain so I guess we want to pass false here (as the condition in macro is translation_domain is same as(false), which is false for not defined translation_domain)?
Can you confirm @GrabowskiM? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

We want to use translation_domain variable, as in all other uses of this macro (for example line 67)

@@ -68,7 +71,7 @@

{% include '@ibexadesign/ui/component/dropdown/dropdown_selected_item.html.twig' with {
value: first_choice.value,
label: _self.get_translated_label(first_choice.label),
label: _self.get_translated_label(first_choice.label, false),
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to use translation_domain variable, as in all other uses of this macro (for example line 67)

@tischsoic tischsoic force-pushed the IBX-1742-dropdown-not-working-in-shipping-management branch from a760317 to 1797527 Compare December 20, 2021 11:07
@dew326 dew326 merged commit 530c17d into main Dec 20, 2021
@dew326 dew326 deleted the IBX-1742-dropdown-not-working-in-shipping-management branch December 20, 2021 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants