mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
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:
parent
3cac851498
commit
cfa157c1e5
@ -312,7 +312,7 @@ define([
|
||||
$type: 'text',
|
||||
name: 'pagination_size',
|
||||
label: '@i18n:customization.table_pagination',
|
||||
validators: ['integer']
|
||||
validators: ['positive_integer']
|
||||
}
|
||||
]
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user