Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement handling of paste event for partitionned inputs #79

Merged
merged 2 commits into from
Feb 2, 2020

Conversation

V-ed
Copy link
Member

@V-ed V-ed commented Feb 2, 2020

This PR does two things :

  • Puts the scripts required to create the partitionned inputs in their own script, which makes the utility script less dense
  • Adds the handling of paste, which overwrites the current selected input and fills the remaining inputs with correct data

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

@V-ed V-ed self-assigned this Feb 2, 2020
@V-ed V-ed merged commit 38e2a78 into master Feb 2, 2020
@V-ed V-ed deleted the feature/input-partition-paste branch February 2, 2020 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow custom input of joining shared election to receive pasted content
1 participant