Skip to content

Commit 2830282

Browse files
committed
update
1 parent 6d8f258 commit 2830282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/manual/room.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// create a form object
1414
$form = E::form([
15-
E::field(E::selectOrType('room', ['Bathroom', 'Kitchen'], 'Type a room name ...')->required(), E::label('Select a room')),
15+
E::field(E::selectOrType('room', ['Bathroom', 'Kitchen'], 'Type a room name ...')->required(), E::label('Select a room'), [V::regex('/^l/', 'Should start with an "L"')]),
1616
E::field(E::submit('Save')),
1717
]);
1818

0 commit comments

Comments
 (0)