The #autocomplete_min_length property is not working as mentioned in the documentation.
But When I changed to #min_length then its working fine.

We can fix this in 2 ways.
1. Either update the document with proper example.
2. Change the code as per documentation.

IMO approach 1 is better.

Comments

shashikant_chauhan created an issue. See original summary.

shashikant_chauhan’s picture

Component: Single values » Documentation
Status: Active » Needs review
StatusFileSize
new2.58 KB

Adding Initial patch.

LNakamura’s picture

StatusFileSize
new2.61 KB

@shashikant_chauhan - your patch looks great, and thanks for addressing some coding standards issues!

There were a few more coding standards issues, though, which I've addressed in an update to your patch.

LNakamura’s picture

StatusFileSize
new403 bytes

Adding interdiff.

LNakamura’s picture

StatusFileSize
new3.09 KB
new2.46 KB

I just discovered #2235555: update api files to use proper properties which points out another mismatch in the API doc, so I'm folding that in here.

(I also fixed a few typos...)

edwardchiapet’s picture

Assigned: shashikant_chauhan » Unassigned
Status: Needs review » Fixed

This has been verified and merged. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.