rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.

Home Page:https://rjsf-team.github.io/react-jsonschema-form/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting another UI framework (i.e. SemanticUI)

cguedes opened this issue · comments

Prerequisites

Description

I want to use this lib in a project that is built with SemanticUI instead of Bootstrap.

The documentation is pretty extensive in how to customize Froms to create aditional widgets, fields, themes, and so on. But the core components are (I guess) tight to Bootstrap HTML/classnames.

How should I proceed to use another UI library like semantic UI.
Can/should I for instance change the default widgets used for strings/dates/booleans/etc...

As far as I can see, SemanticUI relies on jQuery and mutable observers, which worries me to the highest level and is something we don't plan to support in any way in the future.

If you're only speaking of CSS here, and admitted that SemanticUI supports a pure CSS mode, the plan would indeed be to craft custom components (SchemaField, fields and/or widgets) to reflect the expected HTML semantics.

Hi. I am only interested in html and css part for now.
I will follow your recommendation. Tanks.

I'm looking at https://github.com/nilportugues/react-jsonschema-form-semanticui .. will try to circle back around and share what i find

@zenflow curious what your findings are