meteor-autoform-semantic-ui
meteor-autoform-semantic-ui copied to clipboard
Label options generate incorrect markup
Hi, I tried adding a leftLabel to a field and got the following:
<div class="ui labeled fluid input field required">
<label for="Y5WfHhnv2Cj2QQBr3">
Min raise amount
</label>
<div class="ui label">$</div>
<input type="number" name="minRaiseAmount" leftlabel="$" id="Y5WfHhnv2Cj2QQBr3" required="" data-schema-key="minRaiseAmount" max="2000000" min="50000">
</div>
In reviewing the SUI docs, it looks like the 'ui labeled input' class needs to wrap the input and any pre or post labels as well as the input. The 'normal' field
I can try tackling this via a pull request.