Results 1 to 2 of 2

Thread: interface idea - validators on modelfields

  1. #1
    Sencha User joostvanhassel's Avatar
    Join Date
    Jan 2012
    Rotterdam, The Netherlands
    Vote Rating

    Default interface idea - validators on modelfields

    As I was adding Data Model Validators to my Models, I noticed:
    • validators are added as a childnode of the model
    • the name of a validator (as visible in the inspector) cannot be changed
    On each added validator, the property 'field' has to be set. Would it be an idea to move the validators in de projectinspector to appear as a childnode of the modelfield? On adding a validator to a modelfield, the property 'field' can then be set automatically (actually, the property can probably be removed). Using this approach, a custom name for the validator is no longer necessarily: it would suffice to show the type of validator in the inspector.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Vote Rating


    We already have some plans in the works for a similar idea.
    Aaron Conran

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts