PasswordField#
PasswordField
is a field widget to input passwords in text area and toggle its visibility. it inherits from the SepalWidget
class.
Any argument from the original TextField
ipyvuetify class can be used to complement it.
from sepal_ui import sepalwidgets as sw
# correct colors for the documentation
# set to dark in SEPAL by default
import ipyvuetify as v
v.theme.dark = False
password = sw.PasswordField()
password
the value can be retrieve from the v_model
trait.
Note
More information can be found here.