hidden property attribute is not hiding form element in UI
See original GitHub issueExpected behavior
When a property in schema has "hidden"
attribute defined true then the UI element should be hidden.
Actual behavior
UI element is still visible
Steps to reproduce the behavior
Please look into below link for example
where name property has "hidden": true
JsonEditor Interactive sample
{
"title": "json schema example",
"type": "object",
"properties": {
"example": {
"type": "string",
"description": "This is an example schema.",
"default": "Please edit me.",
"hidden": true
}
}
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
hidden attribute ignored on Button component - Stack Overflow
First, the hidden attribute has nothing to do with Material UI or React, but is a default HTML attribute from the web standard....
Read more >The Hidden attribute on the WindowAction element does not ...
The Hidden attribute on the WindowAction element does not hide the action button when it is set to true. When setting the Hidden...
Read more >The `hidden` Attribute is Visibly Weak - CSS-Tricks
It's extremely weak. Literally any change to the display property other than the none value on the element with any strength selector will ......
Read more >Hiding DOM elements - ally.js
When we say an element is hidden, we usually mean it is not visible. However, the screen is not the only output mechanism...
Read more >Don't use hidden attribute with Angular 2 - Talking Dotnet
The hidden global attribute is a Boolean attribute indicating that the element is not yet, or is no longer, relevant. For example, it...
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
After parsing the code found setting
It is hiding the whole element.
Example
I found a use for the
"format: "hidden"
. If you define a field like this:The you can use the
description
field to insert a block of HTML text (Like an introduction text). 😃