205stelzear / elections

Website / Webapp to create and view elections for any Scout group
https://205stelzear-elections.v-ed.ca/
MIT License
0 stars 0 forks source link

Implement handling of paste event for partitionned inputs #79

Closed V-ed closed 4 years ago

V-ed commented 4 years ago

This PR does two things :

If there is a pattern added to the partitionned inputs, this pattern will be applied to the validation of the pasted content, which means that for example, a pattern that only accepts letters ([A-Za-z]) would transform this : (Hi, You ( :O ) are fun) into HiYouarefun (if there is enough space for all of these chars, of course).

Closes #77