Skip to content
Snippets Groups Projects
Unverified Commit 3c8bba3c authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #19768 from demeritcowboy/grant-placeholder

#2411 - Fix placeholder text for grants.
parents d35291ad 473d1b73
Branches
Tags
No related merge requests found
......@@ -149,14 +149,14 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
}
$attributes = CRM_Core_DAO::getAttribute('CRM_Grant_DAO_Grant');
$this->addSelect('grant_type_id', ['onChange' => "CRM.buildCustomData( 'Grant', this.value );"], TRUE);
$this->addSelect('grant_type_id', ['placeholder' => ts('- select type -'), 'onChange' => "CRM.buildCustomData( 'Grant', this.value );"], TRUE);
//need to assign custom data type and subtype to the template
$this->assign('customDataType', 'Grant');
$this->assign('customDataSubType', $this->_grantType);
$this->assign('entityID', $this->_id);
$this->addSelect('status_id', [], TRUE);
$this->addSelect('status_id', ['placeholder' => ts('- select status -')], TRUE);
$this->add('datepicker', 'application_received_date', ts('Application Received'), [], FALSE, ['time' => FALSE]);
$this->add('datepicker', 'decision_date', ts('Grant Decision'), [], FALSE, ['time' => FALSE]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment