PriceSet select options cause javascript errors
To reproduce:
- https://dmaster.demo.civicrm.org/civicrm/admin/price?reset=1
- Create a new Price Set, for Memberships
- Add a single field 'membership' of type Select, with the 3 membership options
Then go to a contact record:
- https://dmaster.demo.civicrm.org/civicrm/contact/view?reset=1&cid=204&selectedChild=member
- Add Membership
- Select the "Membership" Price Set
- Select a membership option from the select
The total will be $0.00 and the Javascript console will display an error:
Uncaught TypeError: selectedText[option] is undefined
We noticed the error after upgrading to 5.63.1, previously 5.60.
It also happens with Contribution PriceSets.