I have two tables Categories and Products I have made a simple relation between them so I can quickly choose from a dropdown of Categories My question: is there a way to put an 'add new' in that dropdown? so the user won't have to go out to the category edit section to add a category
How I can add a "quick add" button in dropdown of grocery crud?
1k views Asked by Daniela C. P. At
1
There are 1 answers
Related Questions in CODEIGNITER
- Overlay text on image not renedered correctly when using custom hindi font with GD library functions
- PHP CodeIGniter 3
- domPdf is showing blank page
- Is there a way to create connection pooling in codeigniter 3 using custom mysqli driver?
- Codeigniter 4 - MySQL Duplicate Entry exception not working
- How can I reconfigure CodeIgniter (v4) to serve with a new sub-directory path (via nginx)?
- How to logout with public function
- How to autoload a user-defined class in CI4?
- passing object to a view within a foreach loop in CodeIgniter
- Function in controller does not receive data from ajax on button [SOLVED]
- Create REST API Endpoints from an Existing PHP CodeIgniter Project
- Message: Invalid argument supplied for foreach() while using foreach
- CodeIgniter 4 migration fails but the equivalent MySQL query does not
- CodeIgniter 4 with hmvc
- Zend Barcode label distance ajustment
Related Questions in CRUD
- On the server side, it returns undefined but on the client side, logs the values no problem
- Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Inertia & React CRUD without reloading page
- How do I make sure that a user has the right to delete something when making a delete route
- MudBlazor TextChanged Data Conversion
- I cannot delete a user
- "Cannot be resolved as a type" problem with Java
- Observable in Angular
- How do I get this data from server.js file to +page.svelte file?
- Laravel 9, Undefined variable $users
- How to handle concurrency issues in ASP.NET Core with Entity Framework Core when updating entities in a service?
- Laravel Crud Operations and Json Handling
- I can create course but can't update it. (Express, React)
- include_all_form_fields parameter for subfields in laravel backpack
Related Questions in GROCERY-CRUD
- Editing just one record in Grocerycrud v2
- Getting "Class 'GroceryCrud\Core\GroceryCrud' not found" at the installation of Grocery CRUD
- Ajax_list not found when Sorting/Filtering in Grocery CRUD
- Dynamically changing dropdown list with ajax
- Call to undefined method App\Libraries\GroceryCrud::set_relation()
- Error exception - include(assets/grocery_crud/languages/english.php): failed to open stream: No such file or directory
- Accessing variable in function through object property throws illegal offset type
- a php error was encountered in grocery_crud
- grocery crud prevent insert on callback before insert function
- Implementing Postgresql with Grocery-Crud Invalid DB Driver Error
- Database Syntax error Codeigniter Grocery Crud with SQLite
- Grocery Crud Bootstrap Theme 4: every sorting, paging and filtering do not work
- How to call a custom sibling method of custom helper in codeigniter and use database
- How to force field type to range in Grocery Crud?
- Problem with relative url when linking to external site
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, you can use Selectize.js
Here is client side example
HTML
JS
JsFiddle.
Example is with multiple select, if don`t need multiple just remove the attribute. Also you will have to provide an ajax controller for creating new category.
If you are using Grocery Crud, you need to overwrite the column if you want this in list view. Example
Or to overwrite the edit field if you want it in edit view. Example