jsonforms
jsonforms copied to clipboard
Angular Material Stepper
Is your feature request related to a problem? Please describe.
The angular material renderer does not support the stepper provided by angular material.
Describe the solution you'd like
Would be good if it renders a material stepper when I define the option variant: "stepper" in an angular material project since that is an option in the docs. And maybe add the orientation to it as described in #1817 (which would be simply another option instead of a new renderer)
Describe alternatives you've considered
I considered just using jsonforms inside a stepper instead.
Framework
Angular
RendererSet
Material
Additional context
No response
We often recommend going with the alternative approach described by you. The reason is that errors are naturally scoped and it's easy to add custom stepping logic then. There is not much benefit of rendering the steps within JSON Forms.
We often recommend going with the alternative approach described by you. The reason is that errors are naturally scoped and it's easy to add custom stepping logic then. There is not much benefit of rendering the steps within JSON Forms.
Understandable, maybe add something in the documentation that the stepper does not work in angular (or potentially other frameworks) because its just frustrating when you invest time to try and figure out why your stepper does not work just to find out its not a feature of the jsonforms angular material package.
We have an overview over the renderer sets here: https://jsonforms.io/docs/renderer-sets
The website is also open source, so you can add an entry for the stepper variant of the Categorization there.