core , privmitivus (xmlui): add jidInput handling, with a simple String for now
This commit is contained in:
parent
2c37acf27f
commit
7f14e1865d
1 changed files with 32 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ def _dataFormField2XMLUIData(field, read_only=False):
|
|||
elif field.fieldType == 'text-single':
|
||||
widget_type = "string"
|
||||
widget_kwargs['read_only'] = read_only
|
||||
elif field.fieldType == 'jid-single':
|
||||
widget_type = "jid_input"
|
||||
widget_kwargs['read_only'] = read_only
|
||||
elif field.fieldType == 'text-multi':
|
||||
widget_type = "textbox"
|
||||
widget_args[0] = u'\n'.join(field.values)
|
||||
|
|
|
|||
Loading…
Reference in a new issue