Shamim Hasnath
Shamim Hasnath
You can add a validator to the 2nd element and compare the value with the value of the first element. Please see the demo here: https://codepen.io/sha256/pen/oNxxJrv
The `message` parameter can also be a function (as of `0.1.7`). So I guess you can make use of it for this purpose.
@elseloop, there's a commit related to this in the `feature/i18n` branch. It'll be merged into master soon!
Hidden fields are ignored by default. Are you seeing a different behavior?
@dhruvangg, only input `type=hidden` fields are ignored. It does not look for hidden elements (I'm not sure if it should at this moment). But there's one way to solve the...
@1ucay, you can basically do the following to re-initialize: ``` pristine.reset(); // resets errors pristine.destroy(); // clean up pristine = new Pristine(form); // re-init ````
typeof Object, typeof Date, and typeof String, etc all return 'function'
Hi @psmyrdek, could you please have a look since this function was added by you? :)
Hey @thomas-franz, thanks for the nudge and sorry for not maintaining it properly. I have just bumped the version and published to NPM.
Merged and published to npm. Thank you @enriqueprieto and @shayanpaul