Closed bastiion closed 2 years ago
I am fighting with an infinite updating loop in this branch.
- [ ] Not yet found a way for removing descriptions for JsonForms. They still show a duplicate description when focused
A hack could be:
--- a/frontend/submission/styles/globals.scss
+++ b/frontend/submission/styles/globals.scss
+
+.MuiFormHelperText-root {
+ visibility: hidden;
+}
- [ ] Not yet found a way for removing descriptions for JsonForms. They still show a duplicate description when focused
A hack could be:
--- a/frontend/submission/styles/globals.scss +++ b/frontend/submission/styles/globals.scss + +.MuiFormHelperText-root { + visibility: hidden; +}
Almost @johannesloetzsch . This would disable all descriptions (also our descriptions). And why visibility: hidden
? Do we need the spacing? We will probably use the following:
.MuiInput-root + .MuiFormHelperText-root {
display: none;
}
this will only hide the siblings of the input element
currently, it does not work for hidden elements as state change seems not to be detected
it is just a start to show how it can be done, markdown support comming soon.
Do not wonder about the coding style, it is almost directly taken from within the jsonforms project with some modifications, so I went with their way of coding.