1. #1
    Sencha User joostvanhassel's Avatar
    Join Date
    Jan 2012
    Location
    Rotterdam, The Netherlands
    Posts
    102
    Vote Rating
    1
    joostvanhassel is on a distinguished road

      0  

    Default interface idea - validators on modelfields

    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 - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,883
    Vote Rating
    102
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    We already have some plans in the works for a similar idea.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar