Verified Commit b23f4270 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #2542760 by catch, jhedstrom, alexpott, webchick, dawehner, yched,...

Issue #2542760 by catch, jhedstrom, alexpott, webchick, dawehner, yched, lauriii, maxilein, jibran, amateescu, berdir, bojanz: Mark float and list (float) field types as no_ui
parent 53fad5c5
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
  ],
  category: "number",
  weight: -10,
  no_ui: TRUE,
  default_widget: "number",
  default_formatter: "number_decimal"
)]
+0 −2
Original line number Diff line number Diff line
@@ -318,12 +318,10 @@ public function testFieldTypeOrder(): void {
        'selection_list' => [
          'List (text)',
          'List (integer)',
          'List (float)',
        ],
        'number' => [
          'Number (integer)',
          'Number (decimal)',
          'Number (float)',
        ],
      };
      // Assert that the field type options are displayed as per their weights.
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
  ],
  category: "selection_list",
  weight: -10,
  no_ui: TRUE,
  default_widget: "options_select",
  default_formatter: "list_default",
)]