Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FormItem deleteValidators

    When you call formItem.setValidators(..) what happens with the validators previously set? Are they removed?
    And, if not (after some tests I think they are not removed), how to remove them? I cannot find any API formItem.removeAllValidators() or something similar.
    Using smartgwt 5.0p eval 01.27

    #2
    There is currently no way to dynamically remove validators from an existing FormItem, you would create a new one.

    An alternative to needing to remove validators is of course just to make your validators conditional on some variable that you can change.

    Comment

    Working...
    X