-
Notifications
You must be signed in to change notification settings - Fork 1
Issue with adding extra features to form controls #19
Description
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
I've tried to follow the other existing features such as isSubmitted & markSubmitted, although for my isVisible and markVisible I'm just getting undefined:
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

