How to define a color in fields Editor

How to define a color in fields Editor

mmarroquinmmarroquin Posts: 19Questions: 11Answers: 0

Hello Community, thanks for all your help.
Now, i'm using Editor submit on blur and use the next structure:

fields: [
{
label: "Fecha Factura:",
name: "FechaFactura",
type: "date"
},
{
label: "Vendedor:",
name: "Vendedor"
},
{
label: "Documento:",
name: "Documento"
}
]

and this for disable many fields

editor.on( 'onInitEdit', function () {
editor.disable('Document');
} );

I need put a td/input color for the enable fields and another color for disable fields. i'm trying to add a NameClass in a fields array, but I dont know how include a css class for change the color.

Thanks in advance

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.