Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
You can dynamically change the StyleTheme property value based on your use case using an expression.
The reason why I'm insisting to use StyleTheme. In the recent Thingworx upgrade, PTC changed CSS Syntax which does not support custom CSS values - Solved: Custom CSS new syntax for specific button - PTC Community
If you still want to use custom CSS you can use the old syntax
.myCustomClass ptcs-textfield::part(text-box){
background : #000000
}
/VR
You can change the text area color in Style Properties
Do you have any specific reason to use custom CSS ?
/VR
Hello @Velkumar ,
thanks!
I know that but i want to apply style definition on textarea by expression using create custom class inputs.
So, I need yaa, How to do this by custom css in thingworx.
Thank you
BR,
Hrishabh Sharma
You can dynamically change the StyleTheme property value based on your use case using an expression.
The reason why I'm insisting to use StyleTheme. In the recent Thingworx upgrade, PTC changed CSS Syntax which does not support custom CSS values - Solved: Custom CSS new syntax for specific button - PTC Community
If you still want to use custom CSS you can use the old syntax
.myCustomClass ptcs-textfield::part(text-box){
background : #000000
}
/VR