Skip to content

Commit

Permalink
Add empty option for autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
demaurya committed Oct 30, 2023
1 parent 56b17b1 commit 60aae37
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete/list"/>
<items jcr:primaryType="nt:unstructured">
<empty
jcr:primaryType="nt:unstructured"
text=""
value=""/>
<off
jcr:primaryType="nt:unstructured"
text="off"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete/list"/>
<items jcr:primaryType="nt:unstructured">
<empty
jcr:primaryType="nt:unstructured"
text=""
value=""/>
<off
jcr:primaryType="nt:unstructured"
text="off"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@
fieldLabel="Autofill attribute"
forceSelection="{Boolean}true"
name="./autocomplete"
value="off">
value="">
<options
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete/list"/>
<items jcr:primaryType="nt:unstructured">
<empty
jcr:primaryType="nt:unstructured"
text=""
value=""/>
<off
jcr:primaryType="nt:unstructured"
text="off"
Expand Down

0 comments on commit 60aae37

Please sign in to comment.