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

#861 Fix for inability to save API definition #310

Merged
merged 2 commits into from Dec 23, 2015

Conversation

kahboom
Copy link
Member

@kahboom kahboom commented Dec 23, 2015

Since this is a blocking issue I just decided to revert the addition of UI-Select for this page.

I may be getting a little overeager here in trying to switch to UI-Select, but as I'm diving in, this switch is more problematic for some views than others. It seems like there are many $watch's that are also integrated with other functionality, such as dirty checking and sometimes state setting.

While I'd prefer to have a cleaner implementation of these features, I know it's certainly not ideal nor efficient to rewrite these on the go, especially without testing in place. I think we should still switch to UI-Select, but it may be a while before we can transition completely.

JIRA: https://issues.jboss.org/browse/APIMAN-861

cc @EricWittmann

<span ng-bind="type.label"></span>
</ui-select-choices>
</ui-select>
<select apiman-i18n-key="api-def.choose-type" title="Choose a type..." apiman-select-picker="" ng-model="selectedDefinitionType" class="selectpicker" ng-options="type.label for type in typeOptions track by type.value">
Copy link
Member

Choose a reason for hiding this comment

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

I think this <select> box needs the ng-disabled="isEntityDisabled()" attribute included on it.

@kahboom
Copy link
Member Author

kahboom commented Dec 23, 2015

@EricWittmann - Done. Added ng-disabled="isEntityDisabled()" to select & tested it.

EricWittmann added a commit that referenced this pull request Dec 23, 2015
#861 Fix for inability to save API definition
@EricWittmann EricWittmann merged commit 6ac7c58 into apiman:master Dec 23, 2015
@kahboom kahboom deleted the 861-api-def-drop branch April 18, 2016 17:29
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.

None yet

2 participants