wintercms / wintercms/winter

Sensitive form widget does not function correctly inside a repeater

Open
#1,321 6 comments 0 reactions 1 assignee View on GitHub

@bennothommo is already working on this.

Since Feb 28, 2025.

Dominant language
PHP
Stars
1.5k
Forks
246
Avg merge
19h 2m
Merged PRs (30d)
7

Description

Winter CMS Build

dev-develop

PHP Version

8.3

Database engine

MySQL/MariaDB

Plugins installed

Lots :)

Issue description

When using sensitive in a repeater the value gets replaced by the placeholder on save / on view hidden.

Steps to replicate

Make a form with the following:

fields:
    users:
        type: repeater
        form:
            fields:
                username:
                    label: Username
                    type: text
                    span: auto
                password:
                    label: Password
                    type: sensitive
                    span: auto
Workaround

Use text :(

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.