Skip to content

Commit e08da8e

Browse files
committed
Addressing feedback
1 parent c5f7f44 commit e08da8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Per the above setup steps, the UI runs on `http://localhost:8089/`. To see your
5050
<!-- Operations and controls will be added by `initializeOperations` here -->
5151
<div class="operations-container"></div>
5252

53-
<!-- Both success and error output will be added by `initializeOutput` hedre -->
53+
<!-- Both success and error output will be added by `initializeOutput` here -->
5454
<div class="output-container"></div>
5555
</div>
5656

@@ -66,7 +66,7 @@ document.addEventListener('DOMContentLoaded', function () {
6666
write: [ // Write operations (modify data)
6767
// ...
6868
],
69-
danger: [// Dangerous operations (require explicit confirmation modal)
69+
danger: [ // Dangerous operations (require explicit confirmation modal)
7070
// ...
7171
]
7272
}
@@ -105,7 +105,7 @@ const myOperation = {
105105
return { field1: inputs.field1 };
106106
}
107107
},
108-
preProcess: async (inputs) => inputs, // Optional: Run before getUrl/getPayload and the API call
108+
preProcess: async (inputs) => inputs, // Optional: Run before getUrl/getPayload and the API call
109109
postProcess: async (data, inputs) => data // Optional: Run after apiCall, if you want to adjust the response
110110
};
111111

@@ -120,7 +120,7 @@ Basic small text input
120120
const myText = {
121121
name: 'fieldName',
122122
label: 'Field Label',
123-
required: true, // Optional: If required, Execute won't be enable until filled. Default false.
123+
required: true, // Optional: Exclude button won't be enabled until all fields with requireds are filled. Default false.
124124
size: 2, // Optional: grid span 1-3, grid has 3 columns. Default 1.
125125
placeholder: 'Enter text', // Optional
126126
defaultValue: 'default' // Optional
@@ -177,7 +177,7 @@ const myDropdown = {
177177
type: 'select',
178178
label: 'Select Option',
179179
options: [
180-
'simple', // Can pass as string if option values are same as UI text
180+
'simple', // Can pass as string if option values are same as UI text
181181
{ value: 'val', label: 'Display' } // Or as Objects if they are different
182182
],
183183
defaultValue: 'val'

0 commit comments

Comments
 (0)