Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Conversation

@Jisay
Copy link
Contributor

@Jisay Jisay commented May 16, 2018

As I want to load some informations during modal controller initialization, it can happen that I need to display an error when the action in the modal is not possible.
In this case button could also be different, so I need one time binding to be removed on type, primaryLabel and secondaryLabel attributes.

title: "@?",
primaryAction: "&?",
primaryLabel: "@?",
primaryLabel: "<?",
Copy link
Contributor

@AxelPeter AxelPeter May 16, 2018

Choose a reason for hiding this comment

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

No need to change the binding, it will break the existing oui-modal on managers. Just removing the :: is enough

@Jisay Jisay force-pushed the fix/modalIn2WayBinding branch from c22ce6b to 124dba7 Compare May 16, 2018 12:00
@AxelPeter AxelPeter merged commit 1658fb6 into master May 16, 2018
@AxelPeter AxelPeter deleted the fix/modalIn2WayBinding branch May 18, 2018 11:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants