Announcement

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

    select field title vs textfield title

    Just curious, why is the select field title styled differently than textfields? It is inconsistent - but I see in firebug they are both using formTitle but I can clearly see that the select field title is bigger and bolded.

    Code:
    isc.DynamicForm.create({
        ID: "exampleForm",
        width: 250,
        fields: [
            {ID: "username",
             title: "Username",
             type: "text",
             required: true,
    		 canEdit:false,
             defaultValue: "bob"
            },
            {ID: "email",
             title: "Username",
             required: true,
             type: "select"
            }
        ]
    
    });

    #2
    It's the 'required' attribute - that causes the title to appear bold so it's obvious to the user that the field needs to be populated.
    It doesn't occur for the static text item as the field is non editable (so being "required" has no meaning to the user - they couldn't populate it if they wanted).

    Comment

    Working...
    X