mdbootstrap / bootstrap-templates

A collection of free Bootstrap 5 templates.
https://mdbootstrap.com/freebies/
3.07k stars 1.01k forks source link

how to implement text sanitize on freeInput? #658

Closed stefanocudini closed 5 years ago

stefanocudini commented 5 years ago

for example I can sanitize strings having char different from a-z0-9

stefanocudini commented 5 years ago

I'm solved in this way, using itemText option https://github.com/Keplerjs/Kepler/commit/c100b61e0a56ca7bff97d85155e0774411efdd63#diff-f142fd113dcc0b630394e25a67f1a5e7R13