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

Disable/Enable md-button is not working when it is nested in md-table-toolbar or md-table-empty-state #2089

Open
pemassi opened this issue Jul 3, 2019 · 1 comment

Comments

@pemassi
Copy link

pemassi commented Jul 3, 2019

Which browser?

Chrome 75.0.3770.100

Code

<md-table v-model="bankLogs" md-card md-fixed-header>
            <md-table-toolbar>
                <h1 class="md-title">TEST</h1>
                         <md-button class="md-raised md-primary" @click="callback($event)" :disabled="disabled || isLoading">Search</md-button>
            </md-table-toolbar>

            <md-table-empty-state
                md-label="TEST"
                :md-description="`TEST.`">

                <md-button class="md-raised md-primary" @click="callback($event)" :disabled="disabled || isLoading">Search</md-button>
            </md-table-empty-state>

            <md-table-row slot="md-table-row" slot-scope="{ item }" :class="{ 'md-selected-single md-accent' : item.valid == false }">
                <md-table-cell md-label="TEST" md-sort-by="payDtTime" md-numeric>{{formatDate(item.payDtTime)}}</md-table-cell>

            </md-table-row>
        </md-table>

What is actually happening?

When I set 'disabled' to false, the button is still disabled. When I put buttons outside of the table, the buttons are working fine.

@daisymae
Copy link

daisymae commented Feb 7, 2020

7 months later, and I have run into this issue as well. Is there a fix?

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

No branches or pull requests

2 participants