From 742cd5228130dba176261778d76443b495c213c0 Mon Sep 17 00:00:00 2001 From: Corbin Date: Wed, 28 Apr 2021 17:11:42 +0900 Subject: [PATCH] Note about name regex --- src/Input.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Input.php b/src/Input.php index fdecef4..8f9eb42 100644 --- a/src/Input.php +++ b/src/Input.php @@ -95,6 +95,15 @@ public function __construct($form = null, $type = 'text', $id = null, $name = nu * hide-value: for when the form would access the form by defaultl but you dont want it to. Currently only affective for textarea, and normal input types */ } + + /** + * If the name is passed directly, we will need to check it is not an array, + * and if it is, get the basename + * + * TODO use "/.*(?