shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
376 stars 74 forks source link

Issue with autocomplete border #2304

Open Tshepiso-R opened 3 weeks ago

Tshepiso-R commented 3 weeks ago

Description There is a container around the autocomplete input field. When configuring the border, the styles are applied only to the outer container, while the input field retains its default border and border-radius.

Steps to Reproduce:

  1. Navigate to Form Configuration
  2. Click on the autocomplete and set border with to 3
  3. Observe that the configurations apply to the outer container, not the input field.

Actual Behavior: The input field maintains its default border and border radius, while the changes only affect the outer container.

Expected Behavior: The border and border-radius configurations should be applied directly to the input field, replacing the default styles.

Screenshot image

Related Item: #1985

hlayisanimazuze commented 3 weeks ago

Hi @James-Baloyi, Please check if the commit that fixes this issue did not affect the border of the autocomplete feature in the query builder functionality

Old change image

How it is now image

Chevron and Kanban referenceList property

image

image

James-Baloyi commented 1 week ago

@hlayisanimazuze the issue has been resolved, in addition the behavior of the Autocomplete component has been adjusted back to its original state. This means when configuring a custom border the user will select the border type before it shows. In addition, Hide Border functionality hides the default Ant border, while allowing the user to configure a custom one.

Tshepiso-R commented 6 days ago

@James-Baloyi Let's revisit this when we update the properties panel and work on enhancing the current implementation.