You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: Show cursor in Edge, IE 11 properly
* feat: Support readOnly state
* chore: Fix lint errors
* docs: Add documentation for form states
* chore: Use action's id if available, otherwise fall back to array index
* test: Add tests for actions
* test: Updated snapshots
**Note:** Above example will always fetch the latest version. To fetch a specific version, use `https://unpkg.com/react-dropdown-tree-select@<version>/dist/...`
If set to true, shows the dropdown when rendered. This can be used to render the component with the dropdown open as its initial state.
294
295
296
+
### form states (disabled|readOnly)
297
+
298
+
Type: `bool` (default: `false`)
299
+
300
+
`disabled=true` disables the dropdown completely. This is useful during form submit events.
301
+
`readOnly=true` makes the dropdown read only, which means that the user can still interact with it but cannot change any of its values. This can be useful for display only forms.
302
+
295
303
## Styling and Customization
296
304
297
305
### Default styles
@@ -327,7 +335,7 @@ module: {
327
335
You can import and place a style link directly by referencing it from a CDN.
Note: Above example will always fetch the latest version. To fetch a specific version, use `https://unpkg.com/react-dropdown-tree-select@<version>/dist/styles.css`. Visit [unpkg.com](https://unpkg.com/#/) to see other options.
@@ -470,6 +478,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
0 commit comments