RXNT / react-jsonschema-form-pagination

Apache License 2.0
22 stars 14 forks source link

ui:order subsets #21

Closed zboldyga closed 7 years ago

zboldyga commented 7 years ago

When adding ui:order to the uiSchema object, I found that Mozilla's project requires that the ui:order array can't have any items that aren't properties of the schema object. When we create subsections of the schema object (each layer or tab), we're removing fields from the schema object but not from ui:order, which is causing this error:

Invalid root object field configuration:uiSchema order list contains extraneous properties 'noKnownAllergies', 'noKnownDrugAllergies', ...

@mavarazy I started to add this feature, but this code has changed a ton since I last touched it. I'm guessing this will be a lot simpler for you to add.