Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.09k stars 4.95k forks source link

Form behavior "add field" not working for dinamically added fields #7030

Open vita-it opened 3 years ago

vita-it commented 3 years ago

I need to add fields to the form dinamically when the user clicks at the "Add" button. But I can't add the added field to the form using "add field" behavior.

Look like just nothing happens. No validation, no new field's value on Success

Here is the fiddle: https://jsfiddle.net/vitaita/0817sqf3/8/

lubber-de commented 3 years ago

This has been fixed in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/1811 See your adjusted and now working jsfiddle here https://jsfiddle.net/lubber/0wyz2g7e/

KiddoV commented 3 years ago

@lubber-de I want to ask why is the dynamic error field is still not clean as soon as I type an input? (could it be a bug? The behavior should be the same as the normal field), I have to make it onblur for the field to get error clean. Thanks,

lubber-de commented 3 years ago

The issue is open because we fixed it in the community fork Fomantic-UI where it is closed/merged already.

Semantic UI still has this unfixed and i am not the sui maintainer. That's why the issue is still open.

If you still have issues/questions, please use the Fomantic-UI repository