JSONform component upgrade and bug fix

Hi,

Regarding the jsonSchemaForm component, we should add the styling options for consistency with the other components.

For the "ui:widget": "textarea", the row number is not being applied properly.

There was a similar bug I found that might help: [chakra-ui] ui:options rows not applied for `textarea` element · Issue #4070 · rjsf-team/react-jsonschema-form · GitHub

Hi @MicExpert,

Apologies for the issue, I can definitely make a bug request for this and a feature request for added style options to be consistent with other components.

For now, a workaround seems to be that you can click to drag to expand the textarea to the size needed.

2 Likes

Strong +1 for this. The workaround is not really great because it introduces training for staff and higher margin for human error (because information is not seen at first glance).

exact

For reference, there is another thread about this here: JSONSchemaForm Text Area Height - #5 by matei

Thank you for sharing that @perelin!

It looks like another user found a work around using custom CSS to enforce the textarea size.

.form-group.field.field-string textarea {
  height:120px!important; 
}

This will work for now until our engineers can get their hands on this ticket. I will post with any updates I hear from the team as I was working with them yesterday on this issues so we should hopefully see some traction shortly.