Support for readonly field
See original GitHub issueIt would be useful when ID field has to be shown. Currently user can change the field and it saves a new object to database.
id: {
"type": "string",
"readonly": true
},
Disabled form fields wont be returned, just adding disabled wont work I guess 😦
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
HTML input readonly Attribute
The readonly attribute is a boolean attribute. When present, it specifies that an input field is read-only. A read-only input field cannot be...
Read more >readonly attribute of input and textarea elements
readonly attribute of input and textarea elements ... Makes the form control non-editable. Unlike the disabled attribute, readonly form controls are still ...
Read more >Read-Only Fields
They are useful for displaying default values or totals that you don't want the user to be able to edit but that you...
Read more >readonly keyword - C# Reference
In a field declaration, readonly indicates that assignment to the field can only occur as part of the declaration or in a constructor...
Read more >Make fields readonly | ReSharper Documentation
Add the 'readonly' keyword to fields that only have read access · Set the caret anywhere in the file to make fields readonly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be awesome if I can remove some properties using a keyword.
The ability to have some fields as hidden, and also some fields completely skipped from rendering is very helpful.
Optional fields should be optional to render too.
This is a great suggestion @pateketrueke , i will have it in mind for the v2 branch I am currently working on. I will come back to you when the v2 is ready. Thanks