Skip to content

Issue with adding extra features to form controls #19

Description

@pw-64

Hello,

I'd like to be able to control visibility via the controls (eg to show/hide the html and allow/block the value from being included in the rawValue) - currently just trying to implement the property before I mess with the other bits

I've created a little patch, as attached

solid-forms-visibility.patch

I've tried to follow the other existing features such as isSubmitted & markSubmitted, although for my isVisible and markVisible I'm just getting undefined:

Image

Image

I ran the build script inside projects/solid-forms and then overwrote the dist folder in my project's node_modules.
The types for the new properties are coming through and the IDE doesn't raise any warnings/errors, but at runtime the properties on the form control are undefined

Please could I request some assistance? I've done a find-all for isSubmitted and markSubmitted and I'm sure I've implemented isVisible and markVisible in the same places

thank you in advance; this project has been incredibly helpful for quickly putting forms together - I was trying to implement something similar before I came across this, but this covers (almost) everything I need

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions