Skip to content

Adding onBadInput callback#38

Open
alexf2 wants to merge 3 commits intouhlryk:masterfrom
alexf2:master
Open

Adding onBadInput callback#38
alexf2 wants to merge 3 commits intouhlryk:masterfrom
alexf2:master

Conversation

@alexf2
Copy link
Copy Markdown

@alexf2 alexf2 commented Apr 18, 2018

There may be a need to know, when user makes a bad input. For example, if you want to highlight the input for a short time.

@uhlryk
Copy link
Copy Markdown
Owner

uhlryk commented Apr 24, 2018

Thank you for this improvement. It looks great.
I would like to merge it. But I think that it would be great if you would also add few words in README.md about this new functionality.

…strap 4, adding run-example Npm script, fixing some wording in ReadMe
@alexf2
Copy link
Copy Markdown
Author

alexf2 commented Apr 30, 2018

  1. Added some Readme doc for onBadInput.
  2. Fixed some wording in the doc.
  3. Added an example for onBadInput, showing red highlighting (the most bottom input).
  4. Added "run-example" Npm script along with hot-reloading.
  5. Made some corrections in package.json Npm scripts to make them working on Windows.
  6. Ported the example to Bootstrap 4.
  7. Made some marginal refactorings.

P.S. I suggest testing Npm scripts on Linux or Mac. I didn't as I don't have them at hand.

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.

2 participants