Open bangank36 opened 1 year ago
graph TD;
A[Start] --> B{uiTypeIs is 'Control'?};
B --> |Yes| C{schemaType Is 'integer'?};
B --> |No| D[Return false];
C --> |Yes| E{options 'format' is true ?};
C --> |No| F[Return false];
E --> |Yes| G[Return isNumberFormatControl: true];
graph TD;
A[Start] --> B{uiTypeIs is 'Control'?};
B --> |Yes| C{schemaType is 'number' or 'integer'?};
B --> |No| D[Return false];
C --> |Yes| E{schema has 'maximum', 'minimum', and 'default'?};
C --> |No| F[Return false];
E --> |Yes| G{options 'slider' is true ?};
E --> |No| H[Return false];
G --> |Yes| I[Return isRangeControl: true];
graph TD;
A[Start] --> B{uiTypeIs is 'Control'?};
B --> |Yes| C{schemaType is 'number'?};
B --> |No| D[Return false];
C --> |Yes| E[Return isNumberControl: true];
graph TD;
A[Start] --> B{uiTypeIs is 'Control'?};
B --> |Yes| C{schemaType is 'integer'?};
B --> |No| D[Return false];
C --> |Yes| E[Return isIntegerControl: true];
Summary
Implement the Number control using Gutenberg number control Current testers of jsonforms for number input are
Reference
3