Giter Site home page Giter Site logo

Comments (7)

MaximBalaganskiy avatar MaximBalaganskiy commented on May 25, 2024

Could you please add some background info on what caused this?

from aurelia-mdc-web.

MaximBalaganskiy avatar MaximBalaganskiy commented on May 25, 2024

Are there any input elements in the table other than mdc-checkbox?

from aurelia-mdc-web.

stuartbale avatar stuartbale commented on May 25, 2024

Hey Max - this is the HTML for the table. It has a row at the top to allow users to add a new item.

    <mdc-data-table busy.bind="busy">
        <table>
            <thead>
                <tr class="mdc-data-table__header-row">
                .... // table header cells removed
                </tr>
            </thead>
            <tbody>
                <tr mdc-data-table-row>
                    <td>
                        <mdc-text-field outlined label="Code" value.bind="newCode"></mdc-text-field>
                    </td>
                    <td colspan="5">
                        <mdc-button outlined click.trigger="addShare()">Add Share</mdc-button>
                    </td>
                </tr>
                <tr mdc-data-table-row repeat.for="share of shares" click.trigger="showShare(share.code)">
                .... // table cells removed
                </tr>
            </tbody>
        </table>
    </mdc-data-table>

The error occurs when I enter a value in the textfield and then tab out.

does that help?

from aurelia-mdc-web.

MaximBalaganskiy avatar MaximBalaganskiy commented on May 25, 2024

Yes, just as I thought - an input in the table fires a change event. This is fixable.

from aurelia-mdc-web.

stuartbale avatar stuartbale commented on May 25, 2024

ok cool - thanks for the insanely quick response!

from aurelia-mdc-web.

stuartbale avatar stuartbale commented on May 25, 2024

@MaximBalaganskiy - if I npm install mdc@v12, will aurelia-mdc use that? Or do I need to wait until you've updated it?

from aurelia-mdc-web.

MaximBalaganskiy avatar MaximBalaganskiy commented on May 25, 2024

You'll need to wait till the dependency is upgraded

from aurelia-mdc-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.