Skip to content

Conversation

@SteveSandersonMS
Copy link
Contributor

Very minor tweaks

<div class="col-md-1">
<div class="input-group">
<input type="button" class="btn btn-info @(State.ShouldMoveButtonBeEnabled() ? "" : "disabled")" disabled="@(!State.ShouldMoveButtonBeEnabled())" value="Go" onclick="@State.OnMoveButtonClick" />
<input type="button" class="btn btn-info" disabled="@(!State.ShouldMoveButtonBeEnabled())" value="Go" onclick="@State.OnMoveButtonClick" />
Copy link
Owner

Choose a reason for hiding this comment

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

For Bootstrap don't I need the disabled CSS class also applied?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, maybe you do. If so please ignore and close this.

I tried it and as far as I remember it looked correctly disabled without repeating that info in the CSS class, but maybe there was something more subtle in the styling that I missed.

@Eilon Eilon self-assigned this Feb 15, 2019
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.

2 participants