Parsley.js - change error container

前端 未结 4 952
情歌与酒
情歌与酒 2021-02-13 16:44

I want to alter the positioning of each error message. That is display the error message in the respective

. By using th
4条回答
  •  囚心锁ツ
    2021-02-13 17:21

    Parsley API has been updated. The current method is:

    data-parsley-errors-container="#your-div-id"

    See documentation here: http://parsleyjs.org/doc/index.html#psly-ui-for-field

提交回复
热议问题