Feature/disable api key bootstrap switch#1657
Merged
Conversation
55
reviewed
Sep 29, 2016
proxy_backends/client/form/form.js
Outdated
| Template.proxyBackend.onRendered(() => { | ||
| // Make Disable API Key field easier to use | ||
| // Fixes browser rendering issue | ||
| $("[name='apiUmbrella.settings.disable_api_key']").bootstrapSwitch(); |
Contributor
There was a problem hiding this comment.
I think that simple check / uncheck works much better here. bootstrapSwitch may work as a single element, but not as a part of a form.
Contributor
Author
Contributor
Author
There was a problem hiding this comment.
We can also refine the display of Bootstrap Switch as an enhancement.
Contributor
Author
Contributor
Author
There was a problem hiding this comment.
We disagree as to whether the button 'works' in the form, both literally and aesthetically.
Contributor
Author
Contributor
Author
Contributor
Author
|
There are a lot of Bootstrap Switch configuration options that we can use to enhance this task at a later point. |
Contributor
|
@brylie Reviewing |
Contributor
Author
|
Kiitos @jykae |
Contributor
|
@brylie tested on both Chrome & Firefox, works well. Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Closes #1653
Closes #1656
Closes #1658
Changes