Wiki

Articles tagged with "autocomplete", sorted by viewsX
Displaying 1-7 of 7 result(s).

Custom Autocomplete Display and Value Submission

Created 3 years ago by Antonio RamirezHow-tos5 comments – viewed 33,564 times – ( +12 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

A simple action for CJuiAutoComplete

Created 3 years ago by tydeas_drTips9 comments – viewed 28,912 times – ( +16 / -1 ) – version 1.1
More or less I use auto-complete field for a form. CJuiAutoComplete is a yii widget for this purposes. The common use case is to make an ajax request and retrieve a list from the database. So in this case you have to write a controller action to return you a json encoded list. What if I had a generic action to do this work for me?

Simple way to use AutoComplete using different ID and Display Value

Created 2 years ago by raheelk2kTutorials4 comments – viewed 18,338 times – ( +9 ) – version 1.1
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

PHPStorm & NetBeans autocomplete problem

Created about a year ago by StagelineTips1 comment – viewed 8,080 times – ( +22 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

History Autocomplete

Created 2 years ago by zaccariaHow-tos2 comments – viewed 7,240 times – ( +3 ) – version 1.1
In application development we often have to choose how to mange recurrent values.
tags: autocomplete

Autocomplete in console command

Created 3 years ago by StammTutorials1 comment – viewed 7,134 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Adding Bash Command Completion for Yii Commands

Created 2 years ago by Dustin OpreaHow-tos0 comments – viewed 6,689 times – ( +3 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).