Open ebruchez opened 5 years ago
Where do we put this option?
Is there is any use case to specifying xxf:maxlength
independently from other constraints? I am tempted to say no, and that if so, for those cases, editing the source will remain an option.
+1 from customer for xxf:maxlength
This should probably be an option in addition to the "Maximum Length" common constraint. We could add a checkbox to say "prevent the user from typing more".
Currently, the max length entered in Form Builder is a constant, not a formula. So we could sync it relatively easy to simply copying the value to the
xxf:maxlength
attribute.Once we allow a formula there, we'll need another way, because the formula will live in the binds and the
xxf:maxlength
in the view. We can probably defer this for now and just handle the constant case.+1 from customer