Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kjohnson committed Dec 7, 2023
1 parent 584621b commit bf8fc1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/forms/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ function give_get_default_form_shortcode_args() {
'show_goal' => true,
'show_content' => '',
'float_labels' => '',
'display_style' => 'fullForm',
'display_style' => 'onpage',
'continue_button_title' => __('Donate now', 'give'),

// This attribute belong to form template functionality.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import IframeResizer from 'iframe-resizer-react';
import '../editor/styles/index.scss';

type DonationFormBlockAppProps = {
formFormat: 'fullForm' | 'newTab' | 'modal' | string;
formFormat: 'onpage' | 'newTab' | 'modal' | string;
dataSrc: string;
embedId: string;
openFormButton: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function DonationFormBlockControls({
[
{
label: __('Full Form', 'give'),
value: 'fullForm',
value: 'onpage',
},
{
label: __('Modal', 'give'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import '../styles/index.scss';
interface BlockPreviewProps {
formId: number;
clientId: string;
formFormat: 'fullForm' | 'modal' | 'newTab' | 'reveal';
formFormat: 'onpage' | 'modal' | 'newTab' | 'reveal';
openFormButton: string;
link: string;
}
Expand Down

0 comments on commit bf8fc1b

Please sign in to comment.