Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/drupal#148 Fix product form such that it is possible to unseletc … #19084

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Dec 1, 2020

…duration unit, frequency unit

Overview

Fixes a regression from buttonrama whereby some fields on the premiums form inadvertantly became 'required'

Before

Cannot create a premium with entering duration & frequency
Screenshot from 2020-12-01 16-45-35

After

The duration_unit & frequency unit are converted to use addField (select 2) and no longer default to / require a value

Technical Details

I thought about converting more fields to use addField but it requires extra schema data to be defined (html) so not rc-suitable

Comments

@civibot
Copy link

civibot bot commented Dec 1, 2020

(Standard links)

@civibot civibot bot added the master label Dec 1, 2020
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.32 December 1, 2020 03:43
@civibot civibot bot added 5.32 and removed master labels Dec 1, 2020
@seamuslee001
Copy link
Contributor

@seamuslee001
Copy link
Contributor

Submitter reports it works for them and code looks fine to me MOP

@seamuslee001 seamuslee001 merged commit 17b0ea4 into civicrm:5.32 Dec 1, 2020
@seamuslee001 seamuslee001 deleted the prod branch December 1, 2020 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants