[SOLVED] Label and field with different colors

In a block with labels above the fields, the following occurs:

If you change the color (only) of the field, the color of the label also changes.
If you set one color for the label and a different color for the field, the label takes the color of the field.
If the label is defined with a font size of, for example, 10 and the field is defined with a font size of 16, the label takes the font size of 16.
version 9.12.014 (7)
ima
version 9.10.xxx
ima
All of this occurs as of Version 9.12. This does not occur on my production systems that are on version 9.10.
Regards

@Intercore,

After running some tests, we identified the problem according to the scenario described above.

The problem has already been reported so that the responsible team can work on the fix.

As soon as the fix is ​​released, we will provide feedback through this topic.

Best regards!

@Intercore,

The fix was released in version 9.12.018, which is now available for download/update.

Best regards!

Hi Danilo,
I’m sorry to say that the bug persists in version 9.12.018(2), which was supposed to fix it.
Regards

@Intercore,

We suggest you check the cache issue, as it may be causing styles to not be applied correctly.

As a last resort, you can delete the project directory at /scriptcase/app/project_name and regenerate the source code.

I hope these instructions help you.

Best regards!

Hi Danilo,
Done, rechecked with your recommendations (and of course I already deleted cookies before testing), still the same. Don’t put “Fixed” because it isn’t, sorry.
Make sure it checks when the Label is ‘above’ the field.
Best regards.

@Intercore,

Thank you for your feedback.

Please, if possible, check in a new application to see if the issue persists.

The issue has been resolved for both the label above and below (which was also the issue).

In any case, we suggest you contact the tool’s support team for more detailed assistance.

Best regards!

I’ve checked and found out what’s happening.
To analyze it, check the image with the generated HTML and CSS content.

The explanation is simple: a CSS class belonging to the field and not the label is being included in the table layout, in the tag (TD) that will contain the label’s span.

"If that class (css_numerofactura_line) is removed from this cell, it will work."

  1. CSS of the ‘css_numerofactura_line’ class.
  2. Tag containing the css_numerofactura_line class.
  3. Display of the field in the application.
  4. span of the Label.

“A test form has been created and it actually works because it doesn’t contain that cell. It seems that when created from scratch, it doesn’t cause any problems.”

The following has been done with the entire project:

  • Delete the project from scriptcase/app/NEON, including _lib.
  • Delete browser cookies.
  • Generate the entire project.

Doesn’t work!

The following has also been done with one of the apps:
1)

  • Delete the block containing the fields.
  • Generate.
  • Create a new block and add the fields again.
  • Generate.

Doesn’t work.
2)

  • Remove the fields from the block.
  • Remove colors from the CSS for each field.
  • Generate.
  • Check that there are no colors.
  • Reset the field to its color.

It still doesn’t work; in other words, it still includes tag 2 (marked in blue).

We have about 25 apps with this problem.
Regards