@extends('rapyd::demo.demo')
@section('title','DataForm')
@section('body')
@include('rapyd::demo.menu_form')
DataForm (advanced stuffs)
Samples of autocomplete feature (in development).
All use twitter typehaead and
Bloodhound (Suggestion Engine).
The last one also uses TagsInput.
- The most simple is the first one, it simply builds a local json array using options()
- The second one is the smarter, using relation.fieldname as fieldname and search(array of search fields)
rapyd will manage an ajax request to instace a related entity, search on search fields, and store the foreign key on select
- The third is the more complete, it is like the second one with the added ability to customize the search query
- The last is a sample of the "tags" field to manage a belongsToMany and it also supports search() and remote()
The only options available in this demo are "Jane" and "Jhon", it is just a test form to show it works properly.
In the same spirit, the only categories available are "Category 1" up to "Category 5".
{!! $form !!}
{!! Documenter::showMethod("Zofe\\Rapyd\\Demo\\DemoController", array("anyAdvancedform", "getAuthorlist")) !!}
@stop