When editor.disable() Hide label of field

When editor.disable() Hide label of field

hugffhugff Posts: 3Questions: 1Answers: 0

Hi,
I'm new in Editor but no in DataTables. I'm traying to disable a couple of fields, but I want to show the values.

When: editor.disable( ['idctrlaction','namecontrolator'] );

The field name is hided, not class hidden, the value is in label. Can be trouble with css, because if directly I delete "disabled" over de navegator's debugger it shows. In the images sended it can to see that

Same solution?

Thanks
Josep

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Are you able to give me a link to a page showing the issue please? It sounds very much like a CSS issue.

    Allan

  • hugffhugff Posts: 3Questions: 1Answers: 0

    You can acces from: http://spd.dynalias.com:8080/sga/login.jsp

    With user allan@allan.com and password abcd

    Go to root menu, and acces submenu Controladores, clicking over any table row's will be shows form.

    Thanks
    Josep

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Hi Josep,

    Thanks. In smartadmin-production.min.css there is:

    .disabled {
        color: #fff;
    }
    

    So the label is present, but due to the fact that it is white, it can't be seen.

    You could use:

    div.DTE .disabled label {
        color: #333;
    }
    

    to make it visible.

    Allan

  • hugffhugff Posts: 3Questions: 1Answers: 0

    Hi Allan,

    oH! A lot of thanks!!

    I didn't see it, I has changed it and it's run perfectly.

    Josep

This discussion has been closed.