Git Product home page Git Product logo

Comments (5)

elYanuki avatar elYanuki commented on August 24, 2024 2

afaik this error occurs every single time a picker is destroyed

let picker = new AirDatepicker(input)
console.log(picker)
picker.destroy()

in this case I encounter the error:
Cannot destructure property 'showEvent' of 'this.opts' as it is undefined

When adding more properties i additionally get the same error as OP even though i never used the altFieldDateFormat option

from air-datepicker.

t1m0n avatar t1m0n commented on August 24, 2024 1

Спасибо, надо глянуть

from air-datepicker.

t1m0n avatar t1m0n commented on August 24, 2024 1

@elYanuki I should definitely fix this)

from air-datepicker.

johnnygrossamer avatar johnnygrossamer commented on August 24, 2024

Спасибо, надо глянуть

Позвольте уточнить стоит ли ожидать в ближайшее время исправления этой ошибки, честно говоря в bugreport уже тысячи этих ошибок, и на каждую я дергаюсь)

from air-datepicker.

t1m0n avatar t1m0n commented on August 24, 2024

Fixed in 3.5.1 - added isDestroyed property - which should be manually checked if some of methods will be called after datepicker has been already destroyed. Also fixed some errors which were thrown after calling the destroy()

from air-datepicker.

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.