We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Border color is not uniform

Hi,

When I set the border color of a textbox, it is not uniform and has a 3D format. How can I remove this 3D format and make it a uniform color?


Another question, how hide the border and not show it?

Thank you very much!


8 Replies 1 reply marked as answer

VV Visvesvar Venkatesan Syncfusion Team November 8, 2022 10:24 AM

We were able to reproduce the reported issue  Border color for text box are not getting updated properly and not hiding” and suspect this to be a

defect. We will analyze further on this and update you with more details after validation.


However, we are providing a workaround solution sample below.


Sample - https://stackblitz.com/edit/shpyfy-dpipoc?file=index.js,index.html


Code snippet :

document.getElementById('Click2').addEventListener('click'function () {
  var formField = viewer.retrieveFormFields();

  formField[0].borderColor = 'red';

  document.getElementById(formField[0].id).style.borderStyle = 'solid';
  viewer.formDesignerModule.updateFormField(viewer.formFieldCollections[0], {
    borderColor: 'red',
    thickness: 0,
  });
});





VV Visvesvar Venkatesan Syncfusion Team November 11, 2022 06:01 AM

We have confirmed that the reported issue “Border color for text box are not getting updated properly and not hiding” is a defect and logged the defect reported for the same. The fix for the issue will be included in our upcoming weekly NuGet release on November 16, 2022. You can track the status using the below feedback link.


Feedback link -   The textbox border color style is not updated properly | Issue Feedback



PA Pere Argelich Romà replied to Visvesvar Venkatesan November 11, 2022 06:03 AM

Hi Visvesvar,

Thank you very much!



VV Visvesvar Venkatesan Syncfusion Team November 16, 2022 05:36 AM

We have fixed the reported issue “Border color for text box are not getting updated properly and not hiding” and the fix for the reported issue was included in our latest weekly release v20.3.0.57. Kindly upgrade to that version to get the issue resolved.

   

Packages:   


Service side package

ASP.NET Core :      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows/ 
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux/       

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.OSX/      

       

ASP.NET MVC:      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc5/      

https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Mvc4/


   


EJ2 CDN Links:

https://cdn.syncfusion.com/ej2/20.3.57/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/20.3.57/material.css






PA Pere Argelich Romà replied to Visvesvar Venkatesan November 17, 2022 06:17 AM

Thank you! I will try it!



PA Pere Argelich Romà November 18, 2022 04:12 AM

Hi,

I think there is a problem with the border size, I comment the steps to reproduce it:

1. Create a textbox and assign it a color and border of 6pt. Apply changes, but the textbox does not update the size of the border.

Captura1.PNG


Captura2.PNG

2. Copy the textbox and paste it somewhere else, there the textbox updates correctly with the assigned border.

Captura3.PNG

Another problem I have found, I can't assign 0pt to the border size, it doesn't apply it correctly.


Thank you very much!




SK Sinthiya Kalimuthu Syncfusion Team November 21, 2022 07:52 AM

We were able to reproduce the reported issue  “Textbox thickness property is not working properly” and suspect this to be a defect. We will validate it and update further details in two business days on November 23, 2022.


Regards,

Sinthiya K



VV Visvesvar Venkatesan Syncfusion Team November 24, 2022 12:06 AM

We have confirmed that the reported issue “Text Box thickness property is not working properly” is a defect and logged the defect reported for the same. The fix for the issue will be included in our upcoming weekly NuGet release on December 07, 2022. You can track the status using the below feedback link.

 

Feedback link:  Text Box thickness property is not working properly | Issue Feedback

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon