Skip to main content
pshashipreetham
18-Opal
18-Opal
February 23, 2022
Solved

Remove Clear icon from datetime picker

  • February 23, 2022
  • 1 reply
  • 3159 views

How can these be removed from the DateTime picker, Thingworx Version: 9.1.1 ?
DeepinScreenshot_select-area_20220223203835.png

@paic , @slangley@c_lowy , @CarlesColl 

Thanks,
Shashi.

Best answer by pshashipreetham

Just got the Solution from the Article: https://www.ptc.com/en/support/article/cs324593
The CSS Syntax for the issue is: 

ptcs-datepicker::part(date-field-clear-button):not(.dummy):not(.dummy):not(.dummy):not(.dummy):not(.dummy) {
 visibility: hidden;
}

 

1 reply

pshashipreetham
18-Opal
pshashipreetham18-OpalAuthorAnswer
18-Opal
February 23, 2022

Just got the Solution from the Article: https://www.ptc.com/en/support/article/cs324593
The CSS Syntax for the issue is: 

ptcs-datepicker::part(date-field-clear-button):not(.dummy):not(.dummy):not(.dummy):not(.dummy):not(.dummy) {
 visibility: hidden;
}

 

12-Amethyst
February 24, 2022

BTW, the

:not(.dummy)

in there does nothing. It's just very unprofessional from the article creator to do that.