-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"title" in jsonschema vs "ui:title" in uischema #957
Comments
It's also strange because title is preferred over ui:title for ObjectFieldTemplate ui:title is preferred over title for ArrayField and SchemaField We need to harmonize this behavior to at least make it consistent. |
Just a few thoughts on this:
PS - I would also suggest that the same could be said for "ui:description" with fallback to "description". |
PLEASE YES. It's weird, title has no effect sometimes and its not even showing even with the title in jsonschema. Only label is shown. Gona open an issue on this. |
In v5 |
Which of these props is preferred? "ui:title" seems like the best option, since the field title/label is purely cosmetic (i.e. it does not affect the schema). But "ui:title" doesn't seem to work across the board. For example, it has no effect for array or boolean types ("title" in the jsonschema works fine for both).
There are also examples that have both "title" and "ui:title" defined. Is there any reason for this or are these examples "in transition"?
The text was updated successfully, but these errors were encountered: