Thanks @pranavbabbar for the tip to set the default branch.
About point 2 - c...

Contribution Date
Technology
Contribution Details

Thanks @pranavbabbar for the tip to set the default branch.

About point 2 - comments added in code on reason to use this way, and this is copied from addressfield module. Mentioned the same in ticket description as well.

// If the form has been rebuilt via AJAX, use the form state values. // $form_state['values'] is empty because of #limit_validation_errors, so // $form_state['input'] needs to be used instead.

Let me know.

Contribution Author
Files count
0
Patches count
0