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

bug: correct dropdown menu issue and modal tester config. #341

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

zannkukai
Copy link
Contributor

In a menu, when a dropdown entry was clicked, the page was reloaded. It
caused by an empty href tag. Using an empty routerLink binding
property fix this problem.

In the app tester, the button configuration for the modal actions was
missing. Additionally, add default values for modal button if
configuration doesn't provide any values.

Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

Comment on lines +38 to +39
href
(click)="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.

In a menu, when a dropdown entry was clicked, the page was reloaded. It
caused by an empty `href` tag. Using an `href` tag  without any value
and a 'click' event property binding (as mentioned in the official doc :
https://valor-software.com/ngx-bootstrap/#/dropdowns#anchor-trigger),
all seems work much better.

In the app tester, the button configuration for the modal actions was
missing. Additionally, add default values for modal button if
configuration doesn't provide any values.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@zannkukai zannkukai merged commit f92e393 into rero:dev Jan 19, 2021
@zannkukai zannkukai deleted the zan-quick-fixes branch January 19, 2021 12:44
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.

4 participants