Code Monkey home page Code Monkey logo

Comments (3)

Joebeurg avatar Joebeurg commented on July 24, 2024 1

I have the same issue when updated from 17.18.0 to 17.18.1

from primeng.

adri95cadiz avatar adri95cadiz commented on July 24, 2024

Tested in version 17.18.2 and keeps happening.

Please I would like to have some news on the matter, whether this is planned to be fixed, or whether this is intended behaviour and how it should be approached in that case.

For now our team is staying on version 17.18.0 until this is clarified.

from primeng.

rosenthalj avatar rosenthalj commented on July 24, 2024

> Tested in version 17.18.2 and keeps happening.

Please I would like to have some news on the matter, whether this is planned to be fixed, or whether this is intended behaviour and how it should be approached in that case.

For now our team is staying on version 17.18.0 until this is clarified.

I believe that this issue #15857 is invalid and should be closed. The functionality is working properly. The official PrimeNG click API is onClick and the reproducer provided in issue #15857 is actually working properly. If a developer uses the unsupported click callback, the PrimeNG disabled state has no effect. HTML elements have a click callback which is probably causing the problem/confusion.

The video listed below shows the following;

  1. Launching the reproducer provided in this issue
  2. The PrimeNG version is 17.8.1 (note the functionality also works in the current version of PrimeNG, 17.8.2)
  3. The p-button clicking functionality with the onClick callback is disabled
  4. Changing the PrimeNG supported onClick callback api to the unsupported click api
  5. The p-button clicking functionality with the unsupported click callback is not disabled
primeNGPButtonOnClickDisabledWorkingProperly.mov

from primeng.

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.