[minor] Allow hidden + mandatory if default is set webnotes/erpnext#870