Results 1 to 3 of 3

Thread: How to make textfield looks like label?

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    2
    Vote Rating
    0
      0  

    Question Answered: How to make textfield looks like label?

    Hello everyone!

    I've got an application with a lot of pages, and most of them are forms with number of fields.
    Business logic can turn some of fields into readOnly state, and application knows it before controller renders view.
    The question is: is there any way to make readOnly fields look like labels, but act like a form fields ( for example send value on form.getValues() call ).

    I tried to use some templates, but they are didn't work ( actually, i'm quite a noob in templates ).

  2. Do you want it editable or do you just need to use Display field?

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Do you want it editable or do you just need to use Display field?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    2
    Vote Rating
    0
      0  

    Lightbulb

    Yes, Ext.form.field.Display is exactly what I was looking for...
    Sorry for such RTFM question

    I will always search all the docs first.
    I will always search all the docs first.
    I will always search all the docs first.

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
  •