0.1.4 — Select validation fix
Fixed
add_validation_ruleworks onSelectfields again. In0.1.3, callingform.field(key).add_validation_rule(...)on aselecteditor — or the same method on a standalonebs.Select— raisedAttributeError: 'Select' object has no attribute 'add_validation_rule'. This was a regression from the0.1.3form rework:field()now returns the public editor widget, andbs.Selectwas the one editor missing the method. It is restored with the same signature as the other field widgets, so custom rules with amessage=andtrigger=
work as they did in0.1.2. (#356, #357)
What's Changed
- Fix: restore add_validation_rule on Select widget by @AnasBabari in #357
New Contributors
- @AnasBabari made their first contribution in #357
Full Changelog: v0.1.3...v0.1.4