Hi,
When opening data entry form with data form does not show already selected
value. To make form populate selected data the folling change sgould be
made
remove :
$( fieldId ).select2("val", option.text );
add this instead:
$( fieldId ).val( option.id ).change();
If someone with commit right could change the code would be great.
best regards,
murod
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp