Static
experimentCreate a text input field
settings object
default value (optional)
id of the control
function to validate the input (optional). current implementation will check strict equality with true to determine if the input is valid, returning a boolean. This value will be used to add or remove the 'invalid' class from the input field. We may want to change this to allow for more complex behavior in the future (i.e. give the user some information).
Closes the dialog and removes it from the DOM