solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

Add an a ui:pattern property to basic fields so form creator can give their own regexp

Open timbl opened this issue 1 year ago • 1 comments

The form field code already has the ability to color user inout depending on whther it matches a regexp, and block filed submission for a bad user string. The patterns curently come from the form system internally for numbers, decimals, etc. This poposes addiing a property ui:pattern so the form designer can specify them.

This would be useful, for example, when prompting for things like Matrix or Blu Sky user IDs.

timbl avatar Oct 26 '24 23:10 timbl

It seems ui:pattern is already in the ontology.

timbl avatar Oct 26 '24 23:10 timbl