Skip to content

Add PasswordField Feature #7535

@daviddprtma

Description

@daviddprtma

Short description of what this feature will allow to do:
I want to add passwordfield feature because if user wants to input their password, they don't have a chance to make their input become secure and others can see it while we are going to type it in the form. So with this new propose feature, they have a chance to use PasswordField rather than just using TextField to make the password is secure & no one can see our password when we do type our password

Example of how to use this feature

{% if field.value is null %}
    <span class="badge badge-secondary">{{ 'label.empty'|trans(domain: 'EasyAdminBundle') }}</span>
{% else %}
    <span title="{{ 'label.password'|trans(domain: 'EasyAdminBundle') }}">••••••</span>
{% endif %}

With that masked password when user type on the input form, the password is more secure than expose the password type using TextField or any other field available in EasyAdmin docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions