We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4e5faa + cdec580 commit 1579377Copy full SHA for 1579377
app/code/Magento/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php
@@ -3,7 +3,7 @@
3
* Copyright © Magento, Inc. All rights reserved.
4
* See COPYING.txt for license details.
5
*/
6
-
+declare(strict_types=1);
7
/**
8
* Widget Instance Main tab block
9
*
@@ -12,6 +12,8 @@
12
namespace Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab;
13
14
15
+ * Edit Main Tab
16
+ *
17
* @api
18
* @since 100.0.2
19
@@ -198,7 +200,7 @@ protected function _prepareForm()
198
200
'name' => 'sort_order',
199
201
'label' => __('Sort Order'),
202
'title' => __('Sort Order'),
- 'class' => '',
203
+ 'class' => 'validate-number',
204
'required' => false,
205
'note' => __('Sort Order of widget instances in the same container')
206
]
0 commit comments