AntonyThorpe\Knockout\KnockoutConfirmedPasswordField
Creates a {@link ConfirmedPasswordField} with an additional data-bind attribute that links to a Knockout observable
Synopsis
class KnockoutConfirmedPasswordField
extends ConfirmedPasswordField
{
- // members
- protected string $bindingType = "textInput";
- protected array $casting = ;
- // methods
- public void __construct()
- // Inherited methods from Common
- public $this setObservable()
- public string getObservable()
- public $this setBindingType()
- public string getBindingType()
- public string getOtherBindings()
- public $this setOtherBindings()
- public $this setHasFocus()
- public boolean getHasFocus()
- // Inherited methods from CommonComposite
- public $this setObservables()
- public array getObservables()
- public $this setLabelClass()
- public string getLabelClass()
Hierarchy
Extends
- SilverStripe\Forms\ConfirmedPasswordField
Uses
Members
protected
- $bindingType
—
string
bindingType -
$casting
casting of variables for security purposes - $hasFocus
—
boolean
$hasFocus - $labelClass
—
string
Place the label on the left or right hand side of the switch - $observable
—
string
$observable - $otherBindings
—
string
$otherBindings
Methods
Inherited from AntonyThorpe\Knockout\Common
public
- getBindingType() — getBindingType
- getHasFocus() — getHasFocus
- getObservable() — getObservable
- getOtherBindings() — getOtherBindings
- setBindingType() — setbindingType
- setHasFocus() — setHasFocus
- setObservable() — setObservable
- setOtherBindings() — setOtherBindings
Inherited from AntonyThorpe\Knockout\CommonComposite
public
- getLabelClass() — getLabelClass
- getObservables() — getObservables
- setLabelClass() — set the Label class
- setObservables() — setObservables