This project provides input validation ui objects for LuaRT. It has been designed to simplify and improve the creation of graphical user interfaces with the LuaRT ui module.
The module provides the following validation objects:
Name | Description | Module |
---|---|---|
ValidationLabel | Represents a text label for an input object and provides data validation support. A flag next to the caption shows unsuccessful validation. The error message is displayed in the tooltip. | uivalidators.lua |
ValidationText | Represents a text label for an input object and provides data validation support. The error message is displayed in the label. | uivalidators.lua |
ValidationIndicator | Represents a text label for an input object and provides data validation support. A flag in the label shows unsuccessful validation. The error message is displayed in the tooltip. | uivalidators.lua |
More detailed descriptions and usage examples can be found in the docs folder.
- Create a folder called "ecluart" in your application.
- Copy the "uivalidators.lua" file into this folder.
[application]
|
|----ecluart
| |
| |----uivalidators.lua
| |----...
|
|----app.wlua
The validation module can be loaded using the function require():
local uivalidators = require("ecluart.uivalidators")
Copyright (c) 2023 by esferatec. It is open source, released under the MIT License. See full copyright notice in the LICENSE.md file.