Semantic-ui: [Form] Form Validation Behavior is not as expected

Created on 6 Jul 2016  路  3Comments  路  Source: Semantic-Org/Semantic-UI

The expected behavior is:
when the user submits the form (or blur the field if set on=blur), the validation will be triggered and the form errors will be shown. and after your correct the error field, the error should dismiss directly (or after blur the filed).

But by now, there seems some bug. If I set on=blur, only the field color is updated after blur, the form errors messages are maintained until another form submit is triggered.

Needs Test Case Should Post to Forum - See Readme

Most helpful comment

@zhaoyao91 how to fix the validate error when there is search dropdown in form

All 3 comments

and if I call validate form or even is valid in onValid callback, it will cause dead loop

if a search dropdown is in a form and you get error when you are tying

form.js:834 Uncaught TypeError: Cannot create property 'identifier' on boolean 'false'

@zhaoyao91 how to fix the validate error when there is search dropdown in form

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iPaoo picture iPaoo  路  3Comments

ghost picture ghost  路  3Comments

deneuxa picture deneuxa  路  3Comments

Morrolan picture Morrolan  路  3Comments

kwaninmacau picture kwaninmacau  路  3Comments