Introduction
A simple widget that allows a button to exist inside the text field and developers can define a handler to work when the button is clicked.

Usage
Mark the field type as text-with-button and then specify the handler.
type: text-with-button
buttonText: Clear
buttonHandler: onApiKeyClear
And obviously you need to define the handler in the controller where this is going to be used.
public function onApiKeyClear()
{
... call the settings clear or whatever logic here ...
}
-
This plugin has not been reviewed yet.
-
| 1.0.1 |
First version of TextWithButtonWidget Dec 08, 2020 |
|---|
