-
Notifications
You must be signed in to change notification settings - Fork 9
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
add ui schema property to scaffolder templates #79
Conversation
Adding the ui:autofocus is something that currently the UI already does automatically for the first property of each step ui:widget: textarea |
@@ -7,7 +7,8 @@ | |||
"sampleText": { | |||
"title": "A sample text", | |||
"type": "string", | |||
"description": "Sample text data" | |||
"description": "Sample text data", | |||
"ui:autofocus": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ui:autofocus": true | |
"ui:widget": "textarea" |
@@ -38,6 +38,9 @@ instance of the ${{ values.workflowId }} workflow: | |||
curl -v -X POST -H "Content-Type: application/json" http://localhost:8080/${{ values.workflowId }} -d@input.json | |||
``` | |||
|
|||
## Adding UI schema properties | |||
You can add React UI schema properties to the input schema. See the 'ui:autofocus' example at [${{ values.artifactId }}-schema.json](./src/main/resources/schemas/${{ values.artifactId }}-schema.json ). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add React UI schema properties to the input schema. See the 'ui:autofocus' example at [${{ values.artifactId }}-schema.json](./src/main/resources/schemas/${{ values.artifactId }}-schema.json ). | |
You can add React UI schema properties to the input schema. See the 'ui:widget' example at [${{ values.artifactId }}-schema.json](./src/main/resources/schemas/${{ values.artifactId }}-schema.json ). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/lgtm |
/approve |
FLPATH-1615 https://issues.redhat.com/browse/FLPATH-1615 Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
New changes are detected. LGTM label has been removed. |
FLPATH-1615
https://issues.redhat.com/browse/FLPATH-1615