Open
Description
XEP-0122: Data Forms Validation allows specifying field types with more granularity, notably numeric types which aren't otherwise supported and often hackily done via multiple selection fields.
It would be nice to map this to HTML5 form field types where it makes sense, to take advantage of UI components provided by browsers.
Prosody has limited support for XEP-0122, at the time of this writing only xs:integer
is really understood, but it also advertises the MUC language field as xs:language
. Mostly this gets used internally to allow data conversion to be done in the data forms library instead of everywhere.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.