Entity select widget improvements

The IPA.entity_select_widget has been modified into a searchable and
editable drop down list. The base functionality has been extracted
into IPA.combobox_widget.

Ticket #1361
This commit is contained in:
Endi S. Dewata
2011-07-15 12:18:59 -05:00
committed by Adam Young
parent 95901bbdb5
commit 571274e978
18 changed files with 464 additions and 308 deletions

View File

@@ -102,13 +102,14 @@ IPA.entity_factories.host = function () {
}).
standard_association_facets().
adder_dialog({
width:500,
width: 400,
height: 250,
fields:[
{
factory:IPA.entity_select_widget,
factory: IPA.entity_select_widget,
name: 'fqdn',
field_name:'idnsname',
entity: 'dnszone',
other_entity: 'dnszone',
other_field: 'idnsname',
label: IPA.messages.objects.service.host,
editable: true,
undo: false