https://github.com/mendixlabs/onchangeinputbox
This inputbox widget supports the firing of a microflow for every keystroke. This is great for example with live previews.
https://github.com/mendixlabs/onchangeinputbox
mendix-widget
Last synced: 23 days ago
JSON representation
This inputbox widget supports the firing of a microflow for every keystroke. This is great for example with live previews.
- Host: GitHub
- URL: https://github.com/mendixlabs/onchangeinputbox
- Owner: mendixlabs
- License: apache-2.0
- Created: 2014-08-28T11:43:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-10-07T08:37:12.000Z (over 4 years ago)
- Last Synced: 2024-04-13T17:55:37.213Z (almost 2 years ago)
- Topics: mendix-widget
- Language: JavaScript
- Homepage: https://appstore.home.mendix.com/link/app/89//OnChange-Inputbox
- Size: 1.67 MB
- Stars: 0
- Watchers: 17
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OnChange InputBox/TextArea [](https://docs.mendix.com/community/app-store/app-store-content-support)
This widget creates an inputbox or textarea that lets you run a microflow or nanoflow every time a user changes the content, one key press at a time. It features a delay and a minimum character threshold to prevent excessive microflow or nanoflow calls.
## Contributing
For more information on contributing to this repository visit [Contributing to a GitHub repository](https://world.mendix.com/display/howto50/Contributing+to+a+GitHub+repository)!
### Properties
#### OnchnageInputbox
**Attribute:** The attribute that is linked to the inputbox.
**On change microflow:** The microflow that is triggered when text in the inputbox is changed.
**On change nanoflow:** The nanoflow that is triggered when text in the inputbox is changed.
**On leave microflow:** The microflow that is triggered when the inputbox loses focus.
**On leave nanoflow:** The nanoflow that is triggered when the inputbox loses focus.
**Delay:** _[Optional]_ The delay in milliseconds before the on change microflow or nanoflow is triggered.
**Character Threshold:** _[Optional]_ The minimum amount of characters required for the on change microflow or nanoflow to be triggered.
#### OnchangeTextarea
**Attribute:** The attribute that is linked to the inputbox.
**On change microflow:** The microflow that is triggered whenever text in the textarea is changed.
**On change nanoflow:** The nanoflow that is triggered whenever text in the textarea is changed.
**Delay:** _[Optional]_ The delay in milliseconds before the on change microflow or nanoflow is triggered.
**Character Threshold:** _[Optional]_ The minimum amount of characters required for the on change microflow to be triggered.
**The attributes under _General_ are exactly the same as those for a normal TextArea.**