[Bug] f7-input: error-message and error-message-force and clear action


#1

https://jsfiddle.net/qdechochen/prz2xb0L/121/

Recreate:

  1. use backspace to delete all, you’s see the error message “name required”
  2. input something
  3. click somewhere else(to trigger blue), then the label goes down (stacked together with input text), which should floats because input is not empty. This happens only when error-message and error-message-force is set.
    This is how it shows now:
    WX20181010-214554

Which should be:
WX20181010-214540

Another issue is:
when you click the clear button, it will first emit change event, then input. I think the input event should be emitted first, like native input’s oninput and onchange events.


#2

This was just fixed in repo, will be in next release