Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[form] `'on': 'blur'` does not clear dropdown field error

Open mvorisek opened this issue 2 years ago • 4 comments

Bug Report

Steps to reproduce

  1. open https://jsfiddle.net/4jvtch20/
  2. click "Save" - an error is added to each field (expected/correct)
  3. click "Email" field input, once you focus out of the field, the error for this field is removed
  4. click "Dropdown" field input, no click in/out or value change does remove the field error

Expected result

With 'on': 'blur' I would expect consistent behaviour, ie. error similarly removed for dropdown as for standard input.

Version

2.9.2 / latest

mvorisek avatar May 22 '23 12:05 mvorisek

@lubber-de shouldn't the dropdown emit blur event as other fields normally does?

mvorisek avatar May 30 '23 22:05 mvorisek

@lubber-de shouldn't the dropdown emit blur event as other fields normally does?

Given your example, the dropdown does not have a validation rule set. And it also does not have a native (non-hidden, non-search) input field to be validated automatically. Thats, why the validator does completely ignore blurring the dropdown.

I'll try to fetch this situation

lubber-de avatar May 31 '23 11:05 lubber-de