-
Notifications
You must be signed in to change notification settings - Fork 590
Open
Description
Steps to reproduce
In a form.blade.view do:
<x-twill::input
name="myfield"
:readonly="true"
/>
as docs state the field name is "readonly"
Expected result
Field is readonly.
Actual result
Field is NOT readonly.
Solution
Change readonly
to read-only
:
<x-twill::input
name="myfield"
:read-only="true"
/>
Please update the docs to show that for "@formview" the field is named "read-only" instead of "readonly" or at least add it to the code example with "read-only".
Versions
Twill version: 3.4.1
Laravel version: 11
PHP version: 8.2
Database engine: MySql
Motifsky
Metadata
Metadata
Assignees
Labels
No labels