Custom Fields
Re-Envisioned
Support MB Frontend Submission Form Fields and Vanilla JS

  • Creator
    Topic
  • #32122
    Resolved Nicholas 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #32143
    Long 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 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 Kessler
    Participant

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

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