We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Suggestions

Copy pattern attribute to rendered inputs


In perch v3.1.3, line 177 of PerchFieldType.class.php specifies 3 attributes which are copied from template tags to the rendered inputs:

$copy_atts = ['placeholder', 'autocomplete', 'autofill'];

I would find it very useful if "pattern" were added to this list.

Thanks, Mark

Mark Fisher

Mark Fisher 0 points

  • 1 year ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I think we can probably do that.

Great, thanks!