Skip to content

Commit

Permalink
Merge pull request #8 from gravityview/develop
Browse files Browse the repository at this point in the history
Fix bug making field look like select field
  • Loading branch information
zackkatz authored Nov 21, 2018
2 parents ef784b0 + 599df78 commit 21dc8e4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion class-gf-field-business-hours.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GF_Field_Business_Hours extends GF_Field {

public $type = 'business_hours';

public $inputType = 'select';
public $inputType = 'business_hours';

public function __construct( array $data = array() ) {

Expand Down
2 changes: 1 addition & 1 deletion gravity-forms-business-hours.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Gravity Forms Business Hours by GravityView
Plugin URI: https://gravityview.co
Description: Add a Business Hours field to your Gravity Forms form. Brought to you by <a href="https://gravityview.co">GravityView</a>, the best plugin for displaying Gravity Forms entries.
Version: 2.1
Version: 2.1.1
Author: GravityView
Author URI: https://gravityview.co
Text Domain: gravity-forms-business-hours
Expand Down
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Gravity Forms Business Hours by GravityView #
**Tags:** gravityview,gravity forms, gravity,gravity form,business, hours, time, field, form
**Requires at least:** 3.3
**Tested up to:** 4.9.6
**Tested up to:** 4.9.8
**Stable tag:** trunk
**Contributors:** katzwebdesign,katzwebservices,gravityview
**License:** GPL 3 or higher
Expand All @@ -11,7 +11,7 @@ Add a Business Hours field to Gravity Forms.

## Description ##

> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938), the best form plugin for Wordpress!
> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938), the best form plugin for WordPress!
Add a Business Hours field to your Gravity Forms form.

Expand Down Expand Up @@ -60,6 +60,10 @@ These filters are available for code writers to modify the output:

## Changelog ##

### 2.1.1 on November 20, 2018 ###

* Fixed: Newly added fields not working properly

### 2.1 on June 25, 2018 ###

* Updated: Use site's time format setting for the time dropdowns (24-hour clock now supported)
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Gravity Forms Business Hours by GravityView ===
Tags: gravityview,gravity forms, gravity,gravity form,business, hours, time, field, form
Requires at least: 3.3
Tested up to: 4.9.6
Tested up to: 4.9.8
Stable tag: trunk
Contributors: katzwebdesign,katzwebservices,gravityview
License: GPL 3 or higher
Expand All @@ -11,7 +11,7 @@ Add a Business Hours field to Gravity Forms.

== Description ==

> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938), the best form plugin for Wordpress!
> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938), the best form plugin for WordPress!

Add a Business Hours field to your Gravity Forms form.

Expand Down Expand Up @@ -54,6 +54,10 @@ These filters are available for code writers to modify the output:

== Changelog ==

= 2.1.1 on November 20, 2018 =

* Fixed: Newly added fields not working properly

= 2.1 on June 25, 2018 =

* Updated: Use site's time format setting for the time dropdowns (24-hour clock now supported)
Expand Down

0 comments on commit 21dc8e4

Please sign in to comment.