-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Schema Field Order #1982
Labels
Comments
To adjust the generated
{
"type": "string",
"format": "date-time",
+ "widget": {
+ "formlyConfig": {
+ "templateOptions": { "type": "datetime-local" }
+ }
}
}
this.formlyJsonschema.toFieldConfig(
schema,
+ {
+ map: (field: FormlyFieldConfig, schema: JSONSchema7) => {
+ if (schema.order) {
+ ...
+ }
+
+ return field;
+ },
},
); |
Closed
This was referenced Feb 18, 2021
This was referenced Aug 19, 2021
This was referenced Jan 25, 2022
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
Is it possible to render fields in a specific order specified by a JSON schema? right now my API returns an object and its properties appear in a different order every-time I query it.
Is it possible to provide ngx-formly a JSON schema property to render those fields in a specified order?
example:
The text was updated successfully, but these errors were encountered: