-
Notifications
You must be signed in to change notification settings - Fork 42
Extend disabled-input label fix to the remaining single-value sliders #3468
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ? | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_submit_font_size-value" | ||
| data-slider-label-for="frm_submit_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['submit_font_size'] ) ? 'for="frm_submit_font_size-value"' : ''; ?> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non-blocking, repo-wide pattern (all 21 new sites in this diff, not just this one): the decision to print
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed, worth doing. Filed as #3476 (bundled with your other note below, since doing this first would make that one unnecessary). |
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -147,7 +148,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_submit_border_width-value" | ||
| data-slider-label-for="frm_submit_border_width-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['submit_border_width'] ) ? 'for="frm_submit_border_width-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Border Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -183,7 +185,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Shadow', 'formidable' ); ?></l | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_submit_border_radius-value" | ||
| data-slider-label-for="frm_submit_border_radius-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['submit_border_radius'] ) ? 'for="frm_submit_border_radius-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Corner Radius', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></la | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_check_font_size-value" | ||
| data-slider-label-for="frm_check_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['check_font_size'] ) ? 'for="frm_check_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,7 +75,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Border', 'formidable' ); ?></l | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_field_border_width-value" | ||
| data-slider-label-for="frm_field_border_width-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['field_border_width'] ) ? 'for="frm_field_border_width-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Border Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -309,7 +310,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Border', 'formidable' ); ?></l | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_border_width_error-value" | ||
| data-slider-label-for="frm_border_width_error-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['border_width_error'] ) ? 'for="frm_border_width_error-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Border Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></la | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_description_font_size-value" | ||
| data-slider-label-for="frm_description_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['description_font_size'] ) ? 'for="frm_description_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,7 +37,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></la | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_font_size-value" | ||
| data-slider-label-for="frm_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['font_size'] ) ? 'for="frm_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -109,7 +110,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Align', 'formidable' ); ?></la | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_width-value" | ||
| data-slider-label-for="frm_width-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['width'] ) ? 'for="frm_width-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field frm-md-z-index"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,8 @@ | |
| ?> | ||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_field_font_size-value" | ||
| data-slider-label-for="frm_field_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['field_font_size'] ) ? 'for="frm_field_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -41,7 +42,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></l | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_field_height-value" | ||
| data-slider-label-for="frm_field_height-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['field_height'] ) ? 'for="frm_field_height-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Height', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -58,7 +60,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Height', 'formidable' ); ?></l | |
| </div> | ||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_field_width-value" | ||
| data-slider-label-for="frm_field_width-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['field_width'] ) ? 'for="frm_field_width-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -111,7 +114,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Margin', 'formidable' ); ?></l | |
| </div> | ||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_border_radius-value" | ||
| data-slider-label-for="frm_border_radius-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['border_radius'] ) ? 'for="frm_border_radius-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Corner Radius', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,8 @@ | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_form_desc_size-value" | ||
| data-slider-label-for="frm_form_desc_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['form_desc_size'] ) ? 'for="frm_form_desc_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?> | ||
| </label> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,7 +73,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ? | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_success_font_size-value" | ||
| data-slider-label-for="frm_success_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['success_font_size'] ) ? 'for="frm_success_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -149,7 +150,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ? | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_error_font_size-value" | ||
| data-slider-label-for="frm_error_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['error_font_size'] ) ? 'for="frm_error_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></la | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_title_size-value" | ||
| data-slider-label-for="frm_title_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['title_size'] ) ? 'for="frm_title_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_fieldset-value" | ||
| data-slider-label-for="frm_fieldset-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['fieldset'] ) ? 'for="frm_fieldset-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Border Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -102,7 +103,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Padding', 'formidable' ); ?></ | |
|
|
||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_form_width-value" | ||
| data-slider-label-for="frm_form_width-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['form_width'] ) ? 'for="frm_form_width-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Form Width', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -161,7 +161,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Input Field Padding', 'formida | |
| <hr class="frm12"/> | ||
| <div class="frm5 frm_form_field"> | ||
| <label | ||
| for="frm_base_font_size-value" | ||
| data-slider-label-for="frm_base_font_size-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['base_font_size'] ) ? 'for="frm_base_font_size-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Base Font Size', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field"> | ||
|
|
@@ -207,7 +208,8 @@ class="frm-style-item-heading"><?php esc_html_e( 'Field Shape', 'formidable' ); | |
|
|
||
| <div class="frm5 frm_form_field frm_hidden" data-frm-element="field-shape-corner-radius"> | ||
| <label | ||
| for="frm_style_qsettings_border_radius-value" | ||
| data-slider-label-for="frm_style_qsettings_border_radius-value" | ||
| <?php echo FrmSliderStyleComponent::is_value_measured( $style->post_content['border_radius'] ) ? 'for="frm_style_qsettings_border_radius-value"' : ''; ?> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| class="frm-style-item-heading"><?php esc_html_e( 'Corner Radius', 'formidable' ); ?></label> | ||
| </div> | ||
| <div class="frm7 frm_form_field frm_hidden frm-md-z-index" data-frm-element="field-shape-corner-radius"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A variable has been used but not defined, which may result in warnings during program execution. This can also cause bugs since the intended usage scope of the variable is not known.