Closed salmanhasni closed 6 years ago
example
export const RecruitablePlayerSchema = new SimpleSchema({ ratings: { type: [Object], blackbox: true, optional: true }, {{> afFieldInput type="text" name="ratings.0.value" id="rating-freeform" }}
then it is rendered as <input type="text" name="ratings.0.value" id="rating-freeform" required="" data-schema-key="ratings.0.value" class="form-control">
<input type="text" name="ratings.0.value" id="rating-freeform" required="" data-schema-key="ratings.0.value" class="form-control">
solved my query with required=false
example
then it is rendered as
<input type="text" name="ratings.0.value" id="rating-freeform" required="" data-schema-key="ratings.0.value" class="form-control">