AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.
MIT License
1.44k
stars
328
forks
source link
Proper way to make custom input value reactive? #1678
The following afFieldValueIs helpers are not reactively updating based on the value of my custom afRadioButtons inputType. It works for the boolean-checkbox type in the same form.
How do I get mine working reactively? I'm not understanding how AutoForm reacts to changes to custom input type values? Is it looking at the data-schema-key DOM somehow??
The following
afFieldValueIs
helpers are not reactively updating based on the value of my customafRadioButtons
inputType. It works for theboolean-checkbox
type in the same form.How do I get mine working reactively? I'm not understanding how AutoForm reacts to changes to custom input type values? Is it looking at the
data-schema-key
DOM somehow??Using AutoForm 6.3.0
Custom Input Template:
Custom Input JS:
AutoForm Template:
Schema