Server IP : 150.95.80.236 / Your IP : 18.219.178.166 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/demo15/src/plugins/formvalidation/dist/es6/plugins/ |
Upload File : |
import e from"../utils/classSet";import t from"../utils/hasClass";import s from"./Framework";export default class n extends s{constructor(e){super(Object.assign({},{formClass:"fv-plugins-bootstrap3",messageClass:"help-block",rowClasses:"has-feedback",rowInvalidClass:"has-error",rowPattern:/^(.*)(col|offset)-(xs|sm|md|lg)-[0-9]+(.*)$/,rowSelector:".form-group",rowValidClass:"has-success"},e))}onIconPlaced(s){e(s.iconElement,{"form-control-feedback":true});const n=s.element.parentElement;if(t(n,"input-group")){n.parentElement.insertBefore(s.iconElement,n.nextSibling)}const r=s.element.getAttribute("type");if("checkbox"===r||"radio"===r){const e=n.parentElement;if(t(n,r)){n.parentElement.insertBefore(s.iconElement,n.nextSibling)}else if(t(n.parentElement,r)){e.parentElement.insertBefore(s.iconElement,e.nextSibling)}}}}