Commit d483b05d authored by KR Moorhouse's avatar KR Moorhouse Committed by GitHub

Merge pull request #3078 from wpninjas/issue#3050

Add placeholder for date / pikaday field.
parents 6dce79cc cd47b66d
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
......@@ -19,6 +19,7 @@ define([], function() {
format: dateFormat,
outputFormat: dateFormat,
classes: jQuery( el ).attr( "class" ),
placeholder: view.model.get( 'placeholder' ),
pikadayOptions: {
yearRange: this.getYearRange( view.model ),
minDate: this.getMinDate( view.model ),
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -21,7 +21,7 @@ class NF_Fields_Date extends NF_Fields_Textbox
protected $_settings = array( 'date_default', 'date_format', 'year_range' );
protected $_settings_exclude = array( 'default', 'placeholder', 'input_limit_set', 'disable_input' );
protected $_settings_exclude = array( 'default', 'input_limit_set', 'disable_input' );
public function __construct()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment