Skip to content

Numeric button values cause f.replace error #53

Closed
@stevekrile

Description

When using the button binding, using numeric values causes the code to error:

This WORKS
<div class="btn-group form-group" data-toggle="buttons" data-bind="radio: Response.Response"> <label class="btn btn-success"> <input type="radio" name="options" value="A" /> A </label> </div>

And this FAILS

<div class="btn-group form-group" data-toggle="buttons" data-bind="radio: Response.Response"> <label class="btn btn-success"> <input type="radio" name="options" value="1" /> 1 </label> </div>

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