gws.plugin.model_validator.number_range

Validator for number ranges.

Source code: gws.plugin.model_validator.number_range

Package Contents

class gws.plugin.model_validator.number_range.Config

Bases: gws.base.model.validator.Config

Validator for number ranges. (added in 8.1)

max: gws.ext.config.modelValue | None
min: gws.ext.config.modelValue | None
class gws.plugin.model_validator.number_range.Object

Bases: gws.base.model.validator.Object

maxVal: gws.ModelValue | None
minVal: gws.ModelValue | None
configure()
validate(field, feature, mc)