WebUI: change validator of page size settings
Previously, this configuration field was validated by integer_validator which only checks that the input is number. Now new positive_integer_validator can also check that the inputed number positive. https://pagure.io/freeipa/issue/6980 Reviewed-By: Felipe Volpone <felipevolpone@gmail.com>
This commit is contained in:
1 parent
3cac851498
commit
cfa157c1e5
1 file changed
+1
-1
@@ -312,7 +312,7 @@ define([
|
||||
$type: 'text',
|
||||
name: 'pagination_size',
|
||||
label: '@i18n:customization.table_pagination',
|
||||
validators: ['integer']
|
||||
validators: ['positive_integer']
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user