-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Enhancement: Add multiline string field support in data view #363
Comments
also sidenote: "your $title data items" will probably result in weird displays sometimes. Because the left column is always visible it would be nice to just have "data items" or even "items" as column title here and "Create or modify data" in the third column. The second column could be wider, the first one smaller. |
@davidsneighbour |
Ping :) I just worked on my data file configuration and was about to open a new issue when I realized that I had already done so a while back. The issues remain:
new idea ;):
This still stays enhancement, so there is no pressure :) but I got ideas for the data functionality. Think recipes or "trading card games". I think it might be a powerful feature for data file enabled SSGs. |
I have a strong need for multiline fields as well (also using markdown in those fields). |
I heard both of you 😀 To support this, I must add a new property for the long text (textarea) field. {
"name": {
"type": "string",
"title": "Name"
},
"url": {
"type": "string",
"title": "URL"
},
"description": {
"type": "string",
"longtext": true,
"title": "Description"
}
} Above I used |
That's fine! As long as it's documented, I can work with it ( |
and so it became @davidsneighbour @michaeltlombardi you can configure it as follows: {
"name": {
"type": "string",
"title": "Name"
},
"url": {
"type": "string",
"title": "URL"
},
"description": {
"type": "string",
"multiline": true, // Set the multiline support
"title": "Description"
}
} |
Good catch, just rendering the OOTB experience, didn't notice it, will fix it. |
Just released a fix for this @davidsneighbour |
I would expect the Dashboard > Data view to work according to the docs for field configurations for strings, as in
single: false
andwysiwyg: true
resulting in extended text fields. It doesn't though.Config:
results in:
It would be nice to have at least a multiline field here. Maybe even globally some form of distinction between string and "multiline string" as field type in general?
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: