With this I mean using the available px:data-type and px:type information of options.
The px:type="boolean" info is already used (made into checkbox).
The px:type="integer" or px:type="xs:integer" info could be used to create number fields.
Currently the "officially" supported custom data-types are enumerations and regex patterns. They are expressed in (a subset of) RelaxNG. A first step would be to just validate them (preferably this would happen in the framework through the Java API for data-types). A next step would be to create special widgets for these custom data-types (e.g. drop-down lists), like was done in the web UI.
It would maybe also be nice if the feedback from the validation could be rendered in the form itself instead of in the messages list (although I'm not sure what the impact would be on the accessibility).
With this I mean using the available px:data-type and px:type information of options.
The
px:type="boolean"
info is already used (made into checkbox).The
px:type="integer"
orpx:type="xs:integer"
info could be used to create number fields.Currently the "officially" supported custom data-types are enumerations and regex patterns. They are expressed in (a subset of) RelaxNG. A first step would be to just validate them (preferably this would happen in the framework through the Java API for data-types). A next step would be to create special widgets for these custom data-types (e.g. drop-down lists), like was done in the web UI.
It would maybe also be nice if the feedback from the validation could be rendered in the form itself instead of in the messages list (although I'm not sure what the impact would be on the accessibility).
Related:
P.S: px:data-type and px:type should be merged.