Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add another checkbox like Required for the question element. #62

Open
nishanc opened this issue Oct 19, 2018 · 1 comment
Open

Comments

@nishanc
Copy link

nishanc commented Oct 19, 2018

Is there a way to create another checkbox near Required, Can anyone help me with this, I cant find a way to do this.
image

@nishanc
Copy link
Author

nishanc commented Oct 25, 2018

I have tried adding another check box to mw-form-question-builder.html but it didn't work.

<div layout="row" layout-align="start center">
                <div flex="20">
                    <md-button class="md-accent md-raised" type="button" role="button" ng-click="ctrl.save()" translate="mwForm.buttons.questionReady">
                        Ready
                    </md-button>
                </div>
                <div flex>
                    <md-checkbox  ng-model="ctrl.question.required" ng-disabled="ctrl.readOnly" flex>
                        <span translate="mwForm.question.required">Required</span>
                    </md-checkbox>
                    <md-checkbox  ng-model="ctrl.question.calc" flex>
                        <span>New CheckBox</span>
                    </md-checkbox>
                </div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant