Form Fields and Vanilla JS

Support MB Frontend Submission Form Fields and Vanilla JSResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32122
    Nicholas CoxNicholas Cox
    Participant

    Hi

    I have been reading our article on modernizing javascript https://metabox.io/modernizing-javascript-code-in-wordpress/ and was wondering are you slowly updating all jQuery references inside Metabox to use this approach?

    I ask as alot of form fields e.g. datepickers use jQuery and would be cool for them to use pure javascript. Not sure of this is possible? or in the pipeline?

    Nick

    #32143
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    We are still using jQuery code in some extensions and in the Meta Box plugin to use the jQuery extensions like date picker. Rewriting all the code by vanilla JS would take a lot of time but it is not impossible. You can send your feedback here https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
    and the development team will consider adding it to the roadmap.

    #32146
    Nicholas CoxNicholas Cox
    Participant

    ah ok, yeah I realise that it would not be an easy thing to update, but just curious as you were talking about the topic of vanilla JS.

    #32152
    Aaron KesslerAaron Kessler
    Participant

    A public roadmap is a nice thing, thank you Long!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.