Skip to content

Commit ba528bc

Browse files
committedJul 21, 2021
[Fix bug] Validate field
1 parent 46eb83d commit ba528bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Block/Adminhtml/Slider/Edit/Tab/Design.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function _prepareForm()
111111
'name' => 'limit_number',
112112
'label' => __('Limit the number of products'),
113113
'title' => __('Limit the number of products'),
114-
'class' => 'validate-number validate-greater-than-zero'
114+
'class' => 'validate-number validate-zero-or-greater'
115115
]);
116116

117117
$fieldset->addField('display_additional', 'multiselect', [

0 commit comments

Comments
 (0)
Please sign in to comment.