Fix bug on dynamic form

Selected item fix on dynamic form

#1226